Find the answer to your Linux question:
Results 1 to 3 of 3
Have got Samba working pretty well at a work environment. However, I've discovered something that will prohibit me from using it in the future, unless I can solve it. Users ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2006
    Posts
    24

    Samba and "File Owner"


    Have got Samba working pretty well at a work environment.

    However, I've discovered something that will prohibit me from using it in the future, unless I can solve it.

    Users and Groups appear to have proper access. However, when a user creates a file on a partition formatted as "ext3" and saves it to the Samba share, the file owner becomes the creator, and no one else can modify it.

    I need for anyone with access to the share to be able to modify anything that is saved there. This is desireable in our environment.

    I don't seem to have this problem on VFAT drives.

    Thanks.

  2. #2
    Just Joined! scottro's Avatar
    Join Date
    Feb 2006
    Posts
    57
    So, user john creates a file and user susan has to be able to modify it?

    If they are both members of the group design this would work.

    Add the following to the share


    Code:
    force create mode = 0770
    force directory mode = 0770
    This is with permissions on the share also being 770.

    This should allow all members of the group to modify files placed in the share by any member of the group.

  3. #3
    Just Joined! Alex Stan's Avatar
    Join Date
    Aug 2006
    Location
    Hamilton, Ontario
    Posts
    90
    I am experiencing the same problem too...
    but i don't want to change the read-write permissions... it'll screw up everything. I need a way to crate files with a different owner. So something like... when i'm logged in as alex on my server i would like to create files in the multimedia share with the group set to family, so just the ppl in that group has certain permissions.

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •