Modify Network Share Permission from Command Line using ICACLS

Tags: icacls, cacls, command line, network, share, permissions

List files in local network share:

dir \\localhost\myshare

list permissions on share:

icacls \\localhost\myshare

allocate permissions to share:

icacls \\localhost\myshare /grant mydomain\myuser:(OI)(CI)(F)

Source:

https://theitbros.com/using-icacls-to-list-folder-permissions-and-manage-files/

No Comments

You must log on to comment.