Find the answer to your Linux question:
Results 1 to 2 of 2

Thread: samba

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1


    i have installed samba en i share my htdocs
    with this options

    path = /usr/local/httpd/htdocs
    comment = Webserver default
    read only = no
    admin users = administrator
    force create mode = 0775
    inherit permissions = yes

    but when i create a file its doesn't get the write rights

    -rwxrw-r-- 1 root root 0 Jan 2 21:36 test_file.txt

    what is wrong

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Täby, Sweden
    That's write-permitted as far as I can see. Sure, it does miss the exec permissions, which seems strange, but those shouldn't be there anyway. Set force create mode = 664 instead. Unless you have a really good reason for those exec bits?
    One would think that you'd want the created files to have another GID, though.

Posting Permissions

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