문제

I would like to list the ACLs on a file that is shared on a remote machine (I do have all the admin permissions)

It is available in \win2003ad\testfolder

When I run the command

cacls \\win2003ad\testfolder

I get the error "The network path could not be found." However, when I point out to a particular object in the shared folder, e.g.

cacls \\win2003ad\testfolder\users.csv

I get the correct result. Also, I get the correct result when I check it locally, i.e.

cacls c:\testfolder

Have you got any idea how this can be solved? (I can only use command line (no PS) and I run win2003

도움이 되었습니까?

해결책

Quite old now, but no solution yet... cacls is an old tool, you should use icacls:

icacls \\win2003ad\testfolder

Just tried it on a Windows Server 2003, just in case the command was not there yet, and it worked.

다른 팁

I just solved this yesterday

cacls \\win2003ad\testfolder\*
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top