ICACLS: How to operate on Directory Junction target (mounted volume)?


guys,

need little icacls.

how change volume permission using icacls?

the volume mounted folder c:\d (aka junction)

dir c:\

<junction>     d [\??\volume{00000000-0000-0000-0000-000000000000}\]

 

icacls \\?\volume{00000000-0000-0000-0000-000000000000}\ changes permission on volume.

icacls c:\d changes permission on folder c:\d, not volume mounted there.

 

icacls has switch operate on symbolic link (i.e. a directory symbolic link)

    /l indicates operation performed on symbolic link versus target.

 

is there switch directory junction?

i assume, default supposed operate on target kind of links, doesn’t...

how tell icacls operate on directory junction target?

hi,

 

icacls.exe aware of junction points. more information, please refer following microsoft technet blog:

 

security watch: tools managing acls

http://technet.microsoft.com/en-us/magazine/2007.07.securitywatch.aspx

 

all parameters icacls listed below, no 1 indicated junction specially. since symbolic link , junction point similar, please try use parameter: /l , let know result.

 

icacls

http://technet.microsoft.com/en-us/library/cc753525(v=ws.10).aspx

 

regards,


please remember click “mark answer” on post helps you, , click “unmark answer” if marked post not answer question. can beneficial other community members reading thread.


Windows Server  >  Security



Comments

Popular posts from this blog

Edit Group Policy

Hyper-V VM not reaching OS 'Logon' screen

DNS question...