[Samba] Where are Windows file permissions stored and how to change them?

Hamish lists at subvs.co.uk
Tue Jan 11 14:22:07 GMT 2005


Florian Effenberger wrote:
> Hi,
> 
>> Have you tried cp -a (it saves owner and standard permissions, not 
>> sure about acls though)
> 
> no, have not tried that, but I have to change Unix permissions to the 
> new user nontheless. Somewhere in the profile, maybe in the .DAT file 
> itself, Windows stores the users SID, taht seems to be the problem.
> 
> Florian
> 
If you have your drive mounted with acls, the owner is stored with the 
file, and samba will translate this. I have been able to chown files 
like so: chown DOMAIN+user file and it works. getfacl <filename> should 
list the owner and group, as well as any ACLs
Hope that helps.
H
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://lists.samba.org/archive/samba/attachments/20050111/8cbb74c3/signature.bin


More information about the samba mailing list