Re: directory permissions

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



On Tue, 12 Jan 2010, Carlos Santana wrote:

> Thanks nate and Paul..
>
> Do I need to use -R recursive option for any of the commands you 
> mentioned?

I'd be leery of doing that unless the only items below the top 
directory are other directories (i.e., no regular files).

If you have subdirectories you want to alter, but you also have 
regular files sprinkled through the tree, it'd be best to run find 
instead, e.g.,

   find /your/directory -type d -exec chmod 3775 {} \;

-- 
Paul Heinlein <> heinlein@xxxxxxxxxx <> http://www.madboa.com/
_______________________________________________
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