[Samba] Problems on file ownership for admin users

Pascal Terjan pterjan at mandrakesoft.com
Fri Mar 25 16:33:07 GMT 2005


Hello,
I currently have a problem : There is a domain administrators group
which I filled as "admin users" in smb.conf. They can do what they want
on files, that's fine.

Problem is the files they create are owned by root. Let's explain why
this is a problem for me :
- People in this group can't access their files in an unix way (ftp,
shell, ...)
- If one of them get removed from the group he loses access to files in
his Profiles
- Their files are told to be owned by the account with rid 1000, here an
account machine, so I have to explicitely put the mapping in smbusers
(and maintain the information in 2 places)...

I could not find any information on a way to have the rights to
manipulate files without doing it as root (using capabilities ?).

I found http://lists.samba.org/archive/samba/2005-February/100343.html
asking about this problem, but no answer.

Yours,
-- 
Pascal Terjan
Professional Services Engineer
Mandrakesoft
Tel +33 (0) 1 40 41 17 51 - Fax +33 (0) 1 40 41 92 00



More information about the samba mailing list