Usage: sharesec sharename -r, --remove=ACL Remove ACEs -m, --modify=ACL Modify existing ACEs -a, --add=ACL Add ACEs -R, --replace=ACLS Overwrite share permission ACL -D, --delete Delete the entire security descriptor -S, --setsddl=STRING Set the SD in sddl format --viewsddl View the SD in sddl format -v, --view View current share permissions --view-all View all current share permissions -M, --machine-sid Initialize the machine SID -F, --force Force storing the ACL Help options: -?, --help Show this help message --usage Display brief usage message Common Samba options: -d, --debuglevel=DEBUGLEVEL Set debug level --debug-stdout Send debug output to standard output -s, --configfile=CONFIGFILE Use alternative configuration file --option=name=value Set smb.conf option from command line -l, --log-basename=LOGFILEBASE Basename for log/debug files --leak-report enable talloc leak reporting on exit --leak-report-full enable full talloc leak reporting on exit Version options: -V, --version Print version