changeing permissions for a folder + subfolders and files ?
Hey.
I thought I'd be doing something clever, turns out I might not have after all. I chose to install and configurate quite a few apps as root in /home/apps/, thinking that all users would have access to these apps with the settings I made. This is not so. Users do have access to the apps but settings are default. Is there an easy way to change the permissions for /home that will affect all files and subfolders in /home ? I'm hoping that this way users will be able to run the apps with the settings I made as root, because I really do not want to go through the bore of configurating all the apps again for every single user. Regards. |
man chown
man chmod they both have the -R option - means do someting recursively. |
Thanks. What permissions should be set ? 777 ?
|
i think no. 777 includes write permission. read and execute should do. go with 555.
|
Quote:
|
So doing this:
chown -R 555 /home or chmod -R 555 /home should do the trick ? |
you mean chmod -R 555 /home/apps? that will work.
chown changes the owning user and/or group of the files. so, you might want to do: chown -R root:root /home/apps. that would make /home/apps and its files and dirs belong to the user root and the group root. that, and the chmod command, will prevent other users from modifying /home/apps. |
I'll try again. From my first post in this thread:
I'm hoping that this way users will be able to run the apps with the settings I made as root, because I really do not want to go through the bore of configurating all the apps again for every single user. How can I solve this? |
All times are GMT -5. The time now is 10:04 PM. |