[Samba] Can one set the owner of a folder to BUILTIN\Administrators?
Miguel Medalha
miguelmedalha at sapo.pt
Wed Feb 17 19:28:19 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)
>
As a matter of fact, I can chown to any group, including AD ones, on the AD
DC and member servers. On members servers not to BUILTIN groups, though.
Using Samba 4.2.8 on CentOS 6 and CentOS 7.
More information about the samba
mailing list