[Samba] root ownership on all new files for admin users

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Mar 19 21:44:29 GMT 2009


On Thu, Mar 19, 2009 at 03:28:07PM -0600, Vladimir Shved wrote:
> I have samba server on windows domain, in ADS mode but have problem
> tracking files that belong to admin users, anytime new file created
> the default owner is root. For non-admin users its normal, newly
> created files have correct ownership permissions. Its possible for a
> user to go and take ownership manually from windows machine but its
> just inconvenient. Is there anyway to change default behavior to
> create files with correct ownership of original user rather than
> mapping to root for admin users?

Remove the

@"BUILTIN\administrators"

line from your smb.conf.

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20090319/5b4177bc/attachment.bin


More information about the samba mailing list