samba-users August 2010 archive
Main Archive Page > Month Archives  > samba-users archives
samba-users: Re: [Samba] admin users = user0 (how force admin pe

Re: [Samba] admin users = user0 (how force admin permission?)

From: Jeremy Allison <jra_at_nospam>
Date: Thu Aug 19 2010 - 17:15:55 GMT
To: Pol Hallen <sambati3@fuckaround.org>

On Tue, Aug 10, 2010 at 12:06:53PM +0200, Pol Hallen wrote:
> Hi folks :-)
>
> in a samba share I've:
>
> valid users = user0 user1 user2 user3
> admin users = user0
>
> If I write a new file by user0 (admin) this file has root permission:
>
> -rw-r--r-- 1 root user0 131870 2010-08-06 15:35 20100806 name_of_file
>
> can I force to have an user0 permission like this (maintening admin user
> option in samba?):
>
> -rw-r--r-- 1 user0 user0 131870 2010-08-06 15:35 20100806 name_of_file

No. Setting "admin users = user0" means user0 is silently mapped
to root on connect to that share. That's what "admin users" *means*.

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