Sep 20, 2002 #1 venkman Programmer Oct 9, 2001 467 US does anyone have a shell script for recursively changing all files to rw access and directories to rwx? -venkman
does anyone have a shell script for recursively changing all files to rw access and directories to rwx? -venkman
Sep 20, 2002 1 #2 olded Programmer Oct 27, 1998 1,065 US Venkman: The easiest way is to use find: # directories find . -type d |xargs chmod 777 # files find . -type f |xargs chmod 666 Of course, the user needs to be root or have permissions to change the files. Regards, Ed Upvote 0 Downvote
Venkman: The easiest way is to use find: # directories find . -type d |xargs chmod 777 # files find . -type f |xargs chmod 666 Of course, the user needs to be root or have permissions to change the files. Regards, Ed
Sep 20, 2002 Thread starter #3 venkman Programmer Oct 9, 2001 467 US Thanks, that worked. -venkman Upvote 0 Downvote