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
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: