home Mail List
Info
Info
Meetings
Goals
Upcoming
Projects
FAQ
Security
Links

[Date Prev][Date Next] [Chronological] [Thread] [Top]

[NMLUG] chomd question


  • Subject: [NMLUG] chomd question
  • From: dlark at cukk.org (Daniel Lark)
  • Date: Wed Sep 8 15:51:28 2004
  • In-reply-to: <413F7B95.8010107@paglayan.com>

How about something like:

find . -type d -exec chmod a+x {} \;

That should work. I am assuming you need to set 'x' on the dirs as you
will adding/modifying/deleting files...

Let me know if this works.

-dan

> -----Original Message-----
> From: nmlug-bounces@nmlug.org 
> [mailto:nmlug-bounces@nmlug.org] On Behalf Of Andres Paglayan
> Sent: Wednesday, September 08, 2004 5:37 PM
> To: New Mexico Linux Users Group Mail List
> Subject: [NMLUG] chomd question
> 
> 
> I have a big tree of directories generated by a php script, 
> it goes from 
> a/ to z/ and it has a/ to z/ within each one.
> I backuped and restore it (after changing the OS from Fedora 
> to Debian) I want to change the permissions only in the 
> directories without 
> affecting those of the files.
> Is there any way to do that recursively on the dirs but 
> skiping the files? thanks, Andres
> 
> 
> 
> 
> -- 
> Andres Paglayan
> andres@paglayan.com
> Ph: (505) 986-1561
> Santa Fe, NM USA
> 
> Open Source is like Love. The more you share it the better it gets.
> 
> _______________________________________________
> NMLUG mailing list
> NMLUG@nmlug.org
> http://www.nmlug.org/mailman/listinfo/nmlug
> 




Please send sugestions and comments to webmaster@nmlug.org.
Valid XHTML 1.1! Valid CSS! Powered by Debian Powered by Apache