LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Ownership changes (https://www.linuxquestions.org/questions/red-hat-31/ownership-changes-432677/)

awptech 04-07-2006 08:58 AM

Ownership changes
 
I have Samba running on Red Hat 4 and I'm running a basic shared directory.

No one authenticates to the server, but users do have a samba id and password. There is a file(spreadsheet) that everyone opens and edits.

The problem I'm having is the ownership keeps changing to whoever saved it last. Then the permissions on the file change along with it.

How can I lock the ownership of that file so that the permissions stay set at 777?

marozsas 04-07-2006 10:01 AM

Take a look at samba share aoptions. man smb.conf.
Code:

[yourshare]
        comment = a comment
        path = /path/to/your/shared/folder
        valid users = anotheruser
        write list = @anetgroup, anotheruser
        force user = anuser
        force group = agroup
        create mask = 0660
        directory mask = 0770


awptech 04-07-2006 10:12 AM

Newbie
 
Ok where is all that going? Termial? I'm new the the Linux world.

The folder's permissions are all correct and don't change, it is just for this file that everone opens and everyone saves copies of.


All times are GMT -5. The time now is 05:09 AM.