ZTree.com  | ZEN  | About...  

 Index   Back

[Help!] Listing dirs I don't have access to   [Help!]

By: Peter Shute       
Date: Mar 12,2014 at 22:29
In Response to: [Help!] Listing dirs I don't have access to (Andrew Watson)

> I tried sWitch to Dir mode and sorted by size. Anything with zero
> size is either empty or not accessible but I can't think of any way to
> differentiate them. I think I or someone else suggested a long time ago
> that ZTree could become a super duper network management tool if it
> displayed security attributes.
>
> Ah yes I can. The +s are still displayed so you have a much smaller
> sample to search if you only look at the zero size dirs.

That's an interesting solution. In dir mode, if I sort them by size, it puts all the unlogged dirs at the top, with a question mark for their size. Then I can tag them all, and use control+Batch with the %1 paramater to create a list of them.

> Another thought was to redirect the output from CACLS with whatever
> switches are required to allow you to identify non-accessible dirs to a
> text file.

As far as I can tell, that's not a practical solution. The command should be:
cacls \ /t /c

The /t means recursive search, and the /c means continue after access denied. The problem with the /c switch is that it stops it outputting "access denied". The only sign that there was a problem is that it doesn't list the permissions for that folder. Looking through the output for something that's not there is a nuisance.

If you don't specify /c then it stops after the first one it finds.

So dir mode looks to be the best way to do it. Thanks for suggesting that. I'd briefly tried it, but didn't think of sorting by size.

836 views      
Thread locked
 

Messages in this Thread

 
96,637 Postings in 12,231 Threads, 350 registered users, 89 users online (0 registered, 89 guests)
Index | Admin contact |   Forum Time: Mar 29, 2024 - 9:58 am UTC  |  Hits:62,400,827  (15,613 Today )
RSS Feed