View Single Post

   
  #2 (permalink)  
Old 01-05-2008, 08:38 AM
steven_nospam at Yahoo! Canada
 
Posts: n/a
Default Re: Permission 755 and 754


# This starts from current directory and also runs through
subdirectories
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 754 {} \;

Be careful where you do this!! From root (/) you will change ALL the
files/directories on the system and some things will stop
working....for example, rsh and ftp may be affected if the .rhosts or
..netrc files get the wrong permissions.

Steve

Reply With Quote