Re: Mysterious changing file permissions
From: Adam Aube (aaube01_at_baker.edu)
Date: 02/17/04
- Previous message: Roger Chrisman: "Is MySQL available in Testing?"
- In reply to: Hhayes: "Mysterious changing file permissions"
- Next in thread: Adam Aube: "Re: Mysterious changing file permissions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: debian-user@lists.debian.org Date: Tue, 17 Feb 2004 15:09:53 -0500
On Tuesday 17 February 2004 02:17 pm, 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.
How are you sharing the files? NFS? Samba? Something else?
> 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.
If you set the setGID bit (chmod g+s) on a directory, all files created in
the directory will have the same group ownership as the directory itself.
As for the permissions changing, this is a umask problem - you should look
at the umask setting for your file sharing service.
Adam
-- To UNSUBSCRIBE, email to debian-user-request@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: Roger Chrisman: "Is MySQL available in Testing?"
- In reply to: Hhayes: "Mysterious changing file permissions"
- Next in thread: Adam Aube: "Re: Mysterious changing file permissions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|