Results 1 to 2 of 2
Hi! I have been trying to give file permissions to all the files in a folder and subfolder (ex, to the whole /home/ directory). I have been trying to use ...
- 11-19-2005 #1Just Joined!
- Join Date
- Nov 2005
- Posts
- 1
help in chmod
Hi! I have been trying to give file permissions to all the files in a folder and subfolder (ex, to the whole /home/ directory). I have been trying to use chmod 777 /home/*.* or /home/* but it just gives permissions to the files in that directory and not in the subdirectories.
The only solution was to chmod 777 /home/*/*/*... but this doens't seem to be very well :/
Thanks in advance
- 11-20-2005 #2
Firstly, look through the man page for chmod for more options, i.e. do a man chmod
Now, for changing permissions for directories, you must use the "recursive flag" to change permissions for all folders and files in whatever folder, i.e. do this:
Code:chmod 777 -R /home
Life is complex, it has a real part and an imaginary part.


Reply With Quote
