So the default file permissions don't do what you want.
$  umask
Read the manual page for the umask command,
$ man umask
As root, change the umask in /etc/profile to reflect the permissions you want.
# vi /etc/profile
Then have all users logout and login again. Their $HOME/.bashrc will read /etc/profile and their umask will reflect your changes.

John

On 02/18/04 10:12, Hhayes wrote:

I have a Debian box running as a file server on a network with 50 users. So

far it works great except for the user/file permissions. I can go into a

directory and set the owner and group permissions to read/write on all

files in the directory and that works fine. Then as soon as one of the

users opens a file and saves it, the permissions on that file change to read

only for the group permissions and changes the owner to the user that just

saved the file, resulting in a file that no other users can write to. Has

anyone ever seen this before?



Reply via email to