9
4
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.
Thanks!
Thanks! Matthew for solving the issue and for providing an informative link, that just got bookmarked :-) – Linux NewB – 2014-02-12T11:26:54.370
If you found this useful please mark as answer. – Gaurav Joseph – 2014-02-12T11:34:36.287
won't that make all the files inside the folder executable? – stib – 2014-02-12T12:18:07.893
Yes it will, but from his question I gather that is what he wants. The link I provided will help him with his permissions. Since you mention it I shall update my answer to include a look at this. – Matthew Williams – 2014-02-12T12:19:38.473