Results 1 to 4 of 4
I need to change folders to 775 and files to 664 recursively, but this bash does not has find command (?). How can I change them recursively? Thanks....
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-11-2011 #1
Chmod Files And Directories as 775 and 664
How can I change them recursively? Thanks.
- 02-11-2011 #2
chmod 777 /folder/folder/*
- 02-11-2011 #3
No it does not.
It means to chmod everything on the level of the folder.
chmod -R will work recursively.
However, find would be helpfull to have files 644 and dirs 755.
How come, that there is none?You must always face the curtain with a bow.
- 02-11-2011 #4
- Join Date
- Jun 2010
find /path/to/where/you/want -type d | xargs chmod 755
find /path/to/where/you/want -type f | xargs chmod 664
if your bash doesn't have find, install it.
sh-4.1# rpm -qf `which find`
Last edited by yukihisa; 02-11-2011 at 12:50 PM.