samba share/permission problem

Discussion in 'Server Operation' started by ryoken, Jul 21, 2006.

  1. ryoken

    ryoken New Member

    i've got this public share but have problems with permissions. i'm using debian 3.1 (sarge) and the stock version of samba (v3.0.14a). i've following these steps to no avail:

    http://us3.samba.org/samba/docs/man/Samba-HOWTO-Collection/AccessControls.html#id2585475

    Doing Steps 3 to 5 under "Users Cannot Write to a Public Share" doesn't work for me... and i have no idea what i've done wrong. It says in Step 5 "You should see that the file Afile created by Jill will have ownership and permissions of Jack, as follows:

    -rw-r--r-- 1 jack engr 0 2003-02-04 09:57 Afile"

    But I've still got Jill as the owner??? :confused:

    What could I have done wrong?

    Also, I have avoided using force user/group because of what was stated here:

    http://lists.samba.org/archive/samba/2005-March/101490.html

    any ideas/suggestions would be much appreciated!!!
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Does jack exist in /etc/passwd?
     
  3. ryoken

    ryoken New Member

    yes. i have created the users jill and jack, as well as the group engr. i have also verified this exists in /etc/passwd and /etc/group.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Have you added the user to the samba password database too with:

    smbpasswd -a jack
     
  5. ryoken

    ryoken New Member

    yes, jack and jill are already in the samba password database. but i was thinking that the setgid (set group ID) and setuid (set user ID) features were part of linux - not specifically samba. please correct me if im wrong...
     

Share This Page