The group test of the domain “test.com” has “FULL CONTROL” and in fact i can delete the folder but only in the current directory and not in sub-directories, as you can see in the screenshoot below:
Here we don’t have the FULL control on this sub-directories as you can see.
Reading the man page of the command “smbcalcs” for add ACL in the folder,subfolder the command should be this but it not working:
smbcacls //192.168.0.5/Archivio / -U test.com\\Administrator -a "ACL:TEST\\test:ALLOWED/OI|CI|I/FULL"
At present, smbcacls lacks the ability the recursively set permissions through a file tree. If you don’t have a windows PC available to configure permissions when setting up your CIFS shares, you can use smbcacls to add the required access control entries prior to copying data.
I think the only solution is using a windows client or the command “icacls”
Only shares migrated from NS7 still use Posix ACLs.
However setfacl can’t work with NS8 shares because they do not use Posix ACLs any more. Instead, NS8 shares store Windows ACLs in a dedicated extended attribute.