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
Joao Carneiro - DLS
2005-Mar-25 17:04 UTC
[Samba] Problems on file ownership for admin users
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@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@lists.samba.org [mailto:samba-bounces+jcarneiro=dls.pt@lists.samba.org] On Behalf Of Pascal Terjan Sent: sexta-feira, 25 de Mar?o de 2005 16:33 To: samba@lists.samba.org Subject: [Samba] Problems on file ownership for admin users 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 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba