[Samba] Can one set the owner of a folder to BUILTIN\Administrators?

Miguel Medalha miguelmedalha at sapo.pt
Wed Feb 17 19:17:12 UTC 2016


> 
> Normally a group cannot 'own' files etc, Unix uses ugo permissions and 
> when you chown a file you would use something like this:
> 
> chown foo:somegroup somefile
> 
> this would make 'foo' the owner of the file and possibly allow 
> 'somegroup' access to it, this would depend on whatever permissions you 
> set with 'chmod'
> 
> So, as far as Unix is concerned, you shouldn't be able to chown a file 
> to 'BUILTIN\Administrators' because it is a group (g) and not a user (u)
> 

On my Samba 4 AD Domain Controler I can chown to 'BUILTIN\Administrators' 
alright. Not on my member servers, though.




More information about the samba mailing list