[Samba] Fix sharing ACL

Ricardo Pardim Claus ricardo.claus at yahoo.com.br
Tue Oct 25 19:02:44 UTC 2016



I removed the vestments of the DC user.map. 
I had already trying to reset the permissions, following this session:
https://wiki.samba.org/index.php/Shares_with_Windows_ACLs#Troubleshooting
When I try to reset the permissions as shown in the bottom page of the ACL Windows page, nothing happens.

# ls -l /mnt/data 
total 20 
drwxrwxr-x+ 3 administrator domain admins 4096 Set 30 09:44 NTI 
drwxrwxr-x+ 3 ricardo domain admins   50 Set 14 14:36 rsync 
drwxrwxr-x+ 2 administrator domain admins 4096 Set  2 10:40 teste 
drwxr-xr-x+ 2 root          domain admins    6 Out 25 15:01 teste1 

# setfacl -R -b /mnt/data 
# setfacl -R -b /mnt/data/* 

# ls -l /mnt/data 
total 20 
drwxrwxr-x 3 administrator domain admins 4096 Set 30 09:44 NTI 
drwxrwxr-x 3 ricardo domain admins   50 Set 14 14:36 rsync 
drwxrwxr-x 2 administrator domain admins 4096 Set  2 10:40 teste 
drwxr-xr-x 2 root          domain admins    6 Out 25 15:01 teste1

# getfacl /mnt/data/ 
getfacl: Removing leading '/' from absolute path names 
# file: mnt/data/ 
# owner: administrator 
# group: root 
user::rwx 
group::r-x 
other::r-x 


# setfacl -R -m default:group:"Domain Admins":rwx /mnt/data/*

# getfacl /mnt/data/ 
getfacl: Removing leading '/' from absolute path names 
# file: mnt/data/ 
# owner: administrator 
# group: root 
user::rwx 
group::r-x 
other::r-x 
default:user::rwx 
default:group::r-x 
default:group:domain\040admins:rwx 
default:mask::rwx 
default:other::r-x 


Have any other tips so I can check?



More information about the samba mailing list