Default Directory Permissions
Okay, we are using Linux White Box and running Samba for our file server. We have set the groups and and assigned everyone to that group. The only problem is that when a user creates a new directory, they become the owner, and the file permissions make it so that they can rwx to it, other users of the group can r-x to it and the rest can r-x to it. Where are the permissions for new directories that users create set? Thanks in advance.
|
maybe you could change the umask value in /etc/profile .
|
I just tried it, it seems to work.
|
What exactly did you do ?
|
open the file /etc/profile in a text editer. Then change the line umask=022(thats what mine was) to umask=000, this will give full permission on all files that are created. I am not sure if this only effects files that are created in a shell. Probably.
|
I typed in umask, and the default is 0022 , which is consistent with the privileges that are assigned to each directory.
1. How do i change the value to something that allows rwx to the group and the user and --- to everyone else 2. Do I need to do this for each user on the system? Thanks in advance for all of your help! |
I will try this. Most people obviously are not creating directories in a shell, but in windows via explorer.
|
Quote:
Sorry I could not be more helpful. |
You were very helpful! I will look into this and get back to you.
|
All times are GMT -5. The time now is 07:56 AM. |