logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Control SMB ACLs - Manage Windows Permissions | Online Free DevTools by Hexmos

Control SMB ACLs with smbcacls. Manage Windows file sharing permissions and access control lists. Free online tool, no registration required.

smbcacls

View and manipulate Windows ACLs on SMB shares. Part of the Samba suite. More information: https://www.samba.org/samba/docs/current/man-html/smbcacls.1.html.

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

smbcacls //{{server}}/{{share}} {{path/to/file_or_directory}} --user {{domain\\username}}%{{password}}

  • 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}}"

  • Remove all existing ACL entries and set a new ACL:

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

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

smbcacls //{{server}}/{{share}} {{path/to/file}} --user {{username}} --workgroup {{workgroup}}

See Also