Bash script permissions

Rick Rankin rick_rankin@yahoo.com
Wed Sep 12 14:55:00 GMT 2001


How 'bout "find . -type d | xargs chmod a+x" to fix the directory settings.

--Rick
--- David Monk <david@purplebear.net> wrote:
> > chmod -R a-x /lib /etc
> > etc.
> > Leave the directories containing binary files alone.
> >
> > You don't have to laboriously do a chmod for every file.
> >
> > cgf
> 
> This is great and all, but it will leave any subdirectories thereunder
> inaccessible until +x is set on them.
> 
> David Monk
> 
> 
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 


__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list