Re: Mysterious changing file permissions

From: Adam Aube (aaube01_at_baker.edu)
Date: 02/17/04

  • Next message: Paul Johnson: "Re: DON'T OPEN THE PREVIOUS MESSSAGE FROM ME!!!!!!!!!!! VIRUS"
    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
    

  • Next message: Paul Johnson: "Re: DON'T OPEN THE PREVIOUS MESSSAGE FROM ME!!!!!!!!!!! VIRUS"

    Relevant Pages

    • Re: properties of directory
      ... Ownership and Take Ownership of the directory and ... that someone else who had full permissions to the folder may have removed ... and/or install a file change monitor program such as tripwire or Languard ...
      (microsoft.public.win2000.security)
    • Permissions on rc.config changing on reboot
      ... Running a two-node DS20 cluster. ... On one node, when we reboot, the ... permissions on the /cluster/member//etc/rc.config file change from 644 ...
      (Tru64-UNIX-Managers)
    • Mysterious changing file permissions
      ... far it works great except for the user/file permissions. ... 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 ...
      (Debian-User)
    • Re: Securing an Access 2000 database
      ... "Then I assigned group permissions to the Admins user" ... Then I created a new database and imported all of the objects from the ...
      (microsoft.public.access.security)
    • Re: Securing an Access 2000 database
      ... Then I added a second group permissions to continue the test to see if it was ... "Joan Wild" wrote: ... Then I created a new database and imported all of the objects from the ...
      (microsoft.public.access.security)