file permissions - Specifying permisions with icacls -


i want allocate read permission "everyone" on empty folder users not allowed change folder name. want "everyone" able create/modify/delete files in folder.

say folder called /fred/myfolder

i've tried

icacls /fred /grant everyone:(oi)r 

and

icacls /fred/myfolder /grant everyone:(ci)r icacls /fred/myfolder /grant everyone:(oi)f 

and various combinations no avail. documentation/my knowledge isn't great. appreciated

i found answer. needed

icacls /fred /grant everyone:(oi)r 

then needed

icacls /fred/myfolder /grant everyone:(oi)(ci)(oi)f 

these combinations found useful:

(np) folder only. (oi) folder , files. (ci) folder , subfolders. (oi)(ci) folder, subfolders, , files. (oi)(ci)(io) subfolders , files only. (ci)(io) subfolders only. (oi)(io) files only. 

Comments

Popular posts from this blog

c++ - OpenMP unpredictable overhead -

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

javascript - Wordpress slider, not displayed 100% width -