CmdID

CmdID / Commands

smbcacls

View and manipulate Windows ACLs on SMB shares. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

View and manipulate Windows ACLs on SMB shares. Part of the Samba suite.

Display the ACLs for a file or directory on a remote SMB share

smbcacls //server/share path/to/file_or_directory --user domain\\username%passwordIdentify

Set a new ACL for a file on a remote SMB share (replace "ACL:..." with a valid Windows ACL specification)

smbcacls //server/share path/to/file --user domain\\username%password "ACL:DACL"Identify

Remove all existing ACL entries and set a new ACL

smbcacls //server/share path/to/file --user domain\\username%password "RESET" "ACL:DACL"Identify

Specify an alternative workgroup (or domain) and have the program prompt for a password interactively

smbcacls //server/share path/to/file --user username --workgroup workgroupIdentify