sharesec command examples

sharesec command examples

sharesec – Set or get share ACLs

Add full access for SID S-1-5-21-1866488690-1365729215-3963860297-17724 on share:

host:~ # sharesec share -a S-1-5-21-1866488690-1365729215-3963860297-17724:ALLOWED/0/FULL

List all ACEs for share:

host:~ # sharesec share -v
REVISION:1
CONTROL:SR|DP
OWNER:
GROUP:
ACL:S-1-1-0:ALLOWED/0x0/FULL
ACL:S-1-5-21-1866488690-1365729215-3963860297-17724:ALLOWED/0x0/FULL

Leave a Reply

Your email address will not be published. Required fields are marked *