Pol Hallen
2010-Aug-10 10:06 UTC
[Samba] admin users = user0 (how force admin permission?)
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 thanks :-) Pol
Jeremy Allison
2010-Aug-19 17:15 UTC
[Samba] admin users = user0 (how force admin permission?)
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_fileNo. Setting "admin users = user0" means user0 is silently mapped to root on connect to that share. That's what "admin users" *means*. Jeremy.