PDA

View Full Version : samba share/permission problem


ryoken
21st July 2006, 11:12
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!!!

falko
22nd July 2006, 16:08
Does jack exist in /etc/passwd?

ryoken
25th July 2006, 12:18
Does jack exist in /etc/passwd?

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.

till
25th July 2006, 12:35
Have you added the user to the samba password database too with:

smbpasswd -a jack

ryoken
31st July 2006, 05:46
Have you added the user to the samba password database too with:

smbpasswd -a jack

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...