OK, i've got a samba setup in Domain mode, with everything working perfectly. Since it's domain mode, there's no password issue since the Samba gets the auth from teh PDC (w2k).
I've got two sets of home directories set up. One is public (everyone can read write) and another is private. The private works perfectly. Any user can browse another user's private directories, but they cannot write to it. As it should be.
The public one is where I have the problem. Any user can read/write to the directories....but if user A tries to delete a file that user B created they can't.
Samba Group: smb
Samba Users: ajones:smb
cjones:smb
mjones:smb
public home directory permissions: /home/public/<user>
I ran a chown :smb /home/public -R
I ran a chmod 2777 /home/public -R (sticky bit should keep the gropu the same right??)
Now, when ajones creates a directory under /home/public/cjones
and I run a ls -la
The permissions are right (777), but the directory is owned by ajones:ajones, and not ajones:smb. Thus, if cjones tried to delete/rename that directory, they can't.
Each user is a member of the smb group, and the create mask for that directory is 2777. What in the world am I doing wrong?
I've got two sets of home directories set up. One is public (everyone can read write) and another is private. The private works perfectly. Any user can browse another user's private directories, but they cannot write to it. As it should be.
The public one is where I have the problem. Any user can read/write to the directories....but if user A tries to delete a file that user B created they can't.
Samba Group: smb
Samba Users: ajones:smb
cjones:smb
mjones:smb
public home directory permissions: /home/public/<user>
I ran a chown :smb /home/public -R
I ran a chmod 2777 /home/public -R (sticky bit should keep the gropu the same right??)
Now, when ajones creates a directory under /home/public/cjones
and I run a ls -la
The permissions are right (777), but the directory is owned by ajones:ajones, and not ajones:smb. Thus, if cjones tried to delete/rename that directory, they can't.
Each user is a member of the smb group, and the create mask for that directory is 2777. What in the world am I doing wrong?