I'm using CentOS and I would like to know how to change permissions on a folder with multiple files in it.
I have used the following commands on the folder as root (Let's say folder =A) :
chmod 777 (home/directory/A)
chmod g+r (A)
If I view the folder as a normal user, using the file manager, the lock icon is not visible which indicates that the permissions have been granted? however all the files within folder A still show a lock icon indicating that just folder A has been granted permission and none of the sub-directories within it.
It will prove to be quite a laborious task to run the commands mentioned above on all the sub-directories as there are simply too many.