changeing permissions for a folder + subfolders and files ?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
Originally posted by YBA^[x] Thanks. What permissions should be set ? 777 ?
You should not grant write permission to executables owned by root. One user can do nasty things on the file that can be executed by other users ``including root''.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.