[Samba] Samba and Windows ACL Issue

Ross McInnes sysrm at stvincent.ac.uk
Tue May 31 10:46:56 GMT 2005

Heh ok im now very very confused.

Ill re state my problem, and then can someone tell me if its an ACL issue or
not :)

Basically I have a w2k3 domain, and samba 3.0.14a Member service.

Samba is basically a FileStore.

Its all configured fine (i.e I can log onto the w2k3 domain, and map my home
drive to samba nps)

User accounts have to be managed/create on windows (since doing it on the
*nix machine just doesn’t work, cant set homedir, if its enabled etc)

Problem is that the script that does the user account creation needs to
change the permissions on the home directory it just created.

That’s when I get a permission denied error. That’s using cacls.exe or using
the GUI. Even tho administrator is the owner, he cannot change the grp or
add another user etc.

-rw-r--r--    1 root     root            0 May 27 13:23 crap
[root at dev1 2005]# getfacl crap
# file: crap
# owner: root
# group: root

[root at dev1 2005]# setfacl -m crap -R group:students:rwx
setfacl: Option -m: Invalid argument near character 1

If I chown Administrator:"Domain Users" crap

I can see the file, but as stated before, cannot change the permissions.

Is this an ACL/FileSystem issue? Or something else?

Many thanks



-----Original Message-----
From: samba-bounces+sysrm=stvincent.ac.uk at lists.samba.org
[mailto:samba-bounces+sysrm=stvincent.ac.uk at lists.samba.org] On Behalf Of
Tony Earnshaw
Sent: 27 May 2005 21:37
To: samba at lists.samba.org
Subject: Re: [Samba] Samba and Windows ACL Issue

fre, 27.05.2005 kl. 17.46 skrev John H Terpstra:

> The fstab below shows that your file systems are NOT mounted with ACL
> To gain ACL support you need:
> 1. A the ACL and EA functionality in the Linux kernel 2. To mount the 
> file systems with ACL and XATTR support 3. Samba compiled and linked 
> with the ACL and XATTR libraries
> An example fstab entry to mount a file system with ACL and XATTR 
> support is given here:
> LABEL=/export/1    /export/1     ext3    defaults,acl,user_xattr 1 2

Yea! Furthermore, Ross will have to reboot the server after using vi, since
an unmount/mount will not be possible.


mail: tonye at billy.demon.nl

Eg er bergenser og, eg, men, Trondheims-ordfører Marvin Wiseth:
«Bergenserne er flinke til å gjøre mye ut av lite» (uttalte seg over 17.
mai feiringen iår, men gjelder sannsynligvis og dette mel mitt).

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

More information about the samba mailing list