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....
- 02-11-2011 #1
Chmod Files And Directories as 775 and 664
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.
- 02-11-2011 #2the " * " means recursively...
chmod 777 /folder/folder/*
CMIIW
- 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 #4Just Joined!
- Join Date
- Jun 2010
- Posts
- 8
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`
findutils-4.5.9-2.fc14.i686
sh-4.1#Last edited by yukihisa; 02-11-2011 at 12:50 PM.


Reply With Quote