[CentOS] directory permissions set to 600?

Ski Dawg centos at skidawg.org
Thu Jul 22 15:43:40 UTC 2010


On Wed, Jul 21, 2010 at 7:45 PM, Gordon Messmer <yinyang at eburg.com> wrote:
> On 07/21/2010 08:30 AM, Ski Dawg wrote:
>> OK, my question from all of this is what is the difference between
>> 0600 and 0700 for a directory that is owned by root?
>
> For a directory, there's effectively no difference because the Linux
> kernel does lax security checking for the root user.  Root will be
> allowed to read and write files, and access directory contents
> regardless of the permissions indicated on the filesystem.

Thank you for the responses to this. I was suspecting that there
wasn't a difference for root owned directories, but I wanted to
confirm, making sure I wasn't crazy.
-- 
Doug

Registered Linux User #285548 (http://counter.li.org)
----------------------------------------
Never trust a computer you can't throw out a window.
   -- Steve Wozniak



More information about the CentOS mailing list