Find the answer to your Linux question:
Results 1 to 4 of 4
I have a Samba shared directory with full 0777 access to all and I have the Sticky bit turned off so that anybody can delete each others files (thats how ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2003
    Posts
    3

    Users cannot delete new files - Samba shared directory


    I have a Samba shared directory with full 0777 access to all and I have the Sticky bit turned off so that anybody can delete each others files (thats how the client wants it). I have samba set up to allow Guest access as well and everybody is part of the group "Nobody".

    Anyways, for existing files in the shared everything is fine, but when someone places a new file from their desktop into the shared directory, it gets put into their name as the owner, group 'Nobody', but nobody else can delete the file and it becomes read only. The file's attributes are 755 all of a sudden

    How do I set it up so that files placed into a shared directory can be deletable by others?

    thanks
    Paul

  2. #2
    Linux Engineer
    Join Date
    Apr 2003
    Location
    Sweden
    Posts
    796
    Try to set an umask option in your /etc/samba/smb.conf file under the share that you have shared on your linuxbox, that will do the trick. Then all the files that will put on the share get the same permissions.

    Regards
    Regards

    Andutt

  3. #3
    Just Joined!
    Join Date
    May 2003
    Location
    Los Angeles
    Posts
    34
    Hi,

    You may also try these settings

    [global]
    force create mode = 760
    force directory mode = 775

    Please change the values as per your needs

    Hope this helps.. Also as suggested by andutt umask will do the trick as well

    Thanks
    K

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Dec 2004
    Posts
    1
    I have a similar problem, and it must be global sinse it affects all my shares. My users can't delete files. We can write, modify, and change the name of files, but not delete any files.

    Any ideas for this newb?

Posting Permissions

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