Werner Durgarten
2011-Mar-24 16:05 UTC
[Samba] new created files belong to root instead samba user
Hi List, i just noticed, that files that are created by any samba user who is in the "admin users" list, belong to root in the unix filesystem. This is not what i want. Are there any other options to allow sb. else than the fileowner to change file permissions (via samba connection)? Werner -- GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit gratis Handy-Flat! http://portal.gmx.net/de/go/dsl
John Drescher
2011-Mar-24 16:08 UTC
[Samba] new created files belong to root instead samba user
On Thu, Mar 24, 2011 at 12:05 PM, Werner Durgarten <wernerdurgarten at gmx.de> wrote:> Hi List, > > i just noticed, that files that are created by any samba user who is in the "admin users" list, belong to root in the unix filesystem. This is not what i want. Are there any other options to allow sb. else than the fileowner to change file permissions (via samba connection)? >Are you using force user or force group in your smb.conf? John
Werner Durgarten
2011-Mar-24 16:31 UTC
[Samba] new created files belong to root instead samba user
> > Are you using force user or force group in your smb.conf? >no, none of these options. -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
Chris Smith
2011-Mar-24 17:16 UTC
[Samba] new created files belong to root instead samba user
On Thu, Mar 24, 2011 at 12:05 PM, Werner Durgarten <wernerdurgarten at gmx.de> wrote:> i just noticed, that files that are created by any samba user who is in the "admin users" list, belong to root in the unix filesystem. This is not what i want. Are there any other options to allow sb. else than the fileowner to change file permissions (via samba connection)?man smb.conf admin users - This is a list of users who will be granted administrative privileges on the share. This means that they will do all file operations as the super-user (root). I run several samba servers and none use an "admin users" list. Rights/privileges, file permissions, acls, share permissions, etc. can avoid the need to use "admin users". Chris
Werner Durgarten
2011-Mar-25 09:03 UTC
[Samba] new created files belong to root instead samba user
Hi Chris, thanks for your reply.> I run several samba servers and none use an "admin users" list. > Rights/privileges, file permissions, acls, share permissions, etc. can > avoid the need to use "admin users". >actually i have problems setting (and viewing) permissions via windows explorer. although i use "admin users" is is not possible to view the permissions in general - setting permissions works in some cases (in other cases a error message about wrong parameters shows up). Are you able to view and modify permissions via windows explorer and could you give me i a hint how i can get this working (without "admin users")? Best regards Werner -- NEU: FreePhone - kostenlos mobil telefonieren und surfen! Jetzt informieren: http://www.gmx.net/de/go/freephone
Daniel Müller
2011-Mar-25 11:05 UTC
[Samba] new created files belong to root instead samba user
Depending on your samba version you can try nt acl support =yes for your share or global Google for setfacl and getfacl. OR vfs objects = acl_xattr On Fri, 25 Mar 2011 10:03:17 +0100, "Werner Durgarten" <wernerdurgarten at gmx.de> wrote:> Hi Chris, > > thanks for your reply. > >> I run several samba servers and none use an "admin users" list. >> Rights/privileges, file permissions, acls, share permissions, etc. can >> avoid the need to use "admin users". >> > > actually i have problems setting (and viewing) permissions via windows > explorer. although i use "admin users" is is not possible to view the > permissions in general - setting permissions works in some cases (inother> cases a error message about wrong parameters shows up). > > Are you able to view and modify permissions via windows explorer andcould> you give me i a hint how i can get this working (without "admin users")? > > Best regards > > Werner > -- > NEU: FreePhone - kostenlos mobil telefonieren und surfen! > Jetzt informieren: http://www.gmx.net/de/go/freephone
Werner Durgarten
2011-Mar-28 08:28 UTC
[Samba] new created files belong to root instead samba user
Thanks for your reply.> > Yes, anyone with the proper file and share permissions can do so. You > really want to use the advanced settings dialog. >Luckily working with the advanced settings dialogs seems to be working now. I wonder why the advanced settings dialog works, but permissions are not properly displayed on the security settings tab - is this normal? regards, Werner -- GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit gratis Handy-Flat! http://portal.gmx.net/de/go/dsl