Re: directory permissions set to 600?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




----- Original Message ----
> From: Robert Heller <heller@xxxxxxxxxxxx>
> To: CentOS mailing list <centos@xxxxxxxxxx>
> Cc: CentOS mailing list <centos@xxxxxxxxxx>
> Sent: Tue, July 20, 2010 9:17:28 PM
> Subject: Re:  directory permissions set to 600?
> 
> > 
> > um... on a directory, the X bit means you can LS the  contents of the 
> > directory.   of course, root ignores this anyways  and overrides it.
> 
> Note that execute access is only needed on a directory  if you want to
> list its contents (eg ls).  If you know ahead of time the  name of the
> file in the directory you seek to access, you don't need execute  access
> on the directory.  Not having execute access on a directory  keeps
> 'noisy' people from discovering the contents of the directory.   This is
> a not unreasonably security setting.


Nope. for dirs, 'w' means "you can create and delete files" (because creating 
and deleting files means inserting and removing entries in the dir), "r" means 
"you can list the dir" (which makes sense, since what 'ls' does is reading the 
dir entries. 'x' means "you can cd into the directory) 




Fer



      
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux