[Samba] File permissions confusion w/ACLs

Paul Eggleton paule at cjntech.co.nz
Mon May 12 05:05:52 GMT 2003


Hi there,

I'm having a problem changing permissions on a file on an Active
Directory connected Samba server (using Samba 3.0 alpha 23 with ACL
support enabled) as the Administrator of the domain. 

Here is the output of chacl for the file:
brndlog.txt
[u::rwx,u:Administrator:rwx,u:10008:rwx,u:stacey:rwx,g::r--,m::rwx,o::r-
-]

And ls -l:
-rwxrwxr--+   1 stacey   Hosting User Group     4925 04-29 10:59
brndlog.txt

The settings for the share are as follows:

-------- snip ---------
[userprofiles]
    comment = User Profiles
    path = /userprofiles
    public = yes
    writable = yes
    admin users = DOMAIN\Administrator
-------- snip ---------

I was under the impression that anyone accessing files on the share as a
user specified as an "admin user" would be acting as root and therefore
would have no trouble changing permissions on the file (and indeed,
taking ownership). Also, Administrator appears to have "Full Control" on
the file anyway.

Any ideas?

Cheers,
Paul

---------------------------------------------------------
Paul Eggleton                  Ph:    +64-9-4154790
Software Developer             Fax:   +64-9-4154791
CJN Technologies Ltd.          DDI:   +64-9-4154795
http://www.cjntech.co.nz       Email: paule at cjntech.co.nz
--------------------------------------------------------- 


More information about the samba mailing list