[Samba] Problems on file ownership for admin users

Joao Carneiro - DLS jcarneiro at dls.pt
Fri Mar 25 17:03:22 GMT 2005

The solution passes through the filesystem, setting the sticky bit on the directory in question for some group that all those users belong.

João Carneiro
Departamento de Sistemas e Tecnologias da Informação
jcarneiro at dls.pt

DLS - Projectos Automação e Manutenção, Lda
Tel.: 227 470 786 :: Fax: 227 470 787

-----Original Message-----
From: samba-bounces+jcarneiro=dls.pt at lists.samba.org [mailto:samba-bounces+jcarneiro=dls.pt at lists.samba.org] On Behalf Of Pascal Terjan
Sent: sexta-feira, 25 de Março de 2005 16:33
To: samba at lists.samba.org
Subject: [Samba] Problems on file ownership for admin users

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.

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

To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list