Permissions on a Share Server?
I need help with permissions on a RHEL4 ES server. Right now I have a simple directory called "/share/security"
Code:
[root@fback security]# ls -la Above * = the user creating or changing the file. Is this hard to do? |
This is highly dependent on the user environment. umask controls what default permissions get assigned to a filesystem object. Also, by default, a file/folder you create gets the ownership assigned to you with your current group. To use a different group one must issue the newgrp command.
The easiest for you would be to have a cron job as root that automatically resets permissions on your folder and run it often. |
I would think we could add some kind of sticky bit to the group permission or something, no? This way it will never over ride the group ownership to something other than "security" and the 770 I would assume we could do some kind of umask...
|
chmod g+s /path_to_directory
|
Quote:
Now I am only trying to see how to force 770 permissions on any file or directory under /share/whatever for any user that post in that directory. |
All times are GMT -5. The time now is 03:50 AM. |