Tested with Windows XP and Windows 2003 Server.
Steps to reproduce:
1) Log in as Administrator, or other user belonging to the Administrators group
2) Create the following path: "c:\test\dir\"
3) Create a "file.txt" there and write something to it, so "file.txt" has a non-zero size
4) Change security settings for "c:\test" folder, so only administrators can access it:
a) display folder properties, go to "Security" tab
b) press "Advanced" button
c) uncheck "Allow inheritable permissions [...]" and press "Remove" button when dialog box appears
d) press "OK" button
e) only if the top list (with groups and users) is empty: press "Add" button and add Administrators group
f) select "Administrators" in the top list and allow Full Control for them
g) press "OK" button
5) Now log off and log in as some standard user (not belonging to the Administrators group)
6) Launch TC and try going into "c:\test" folder
7) When TC displays a dialog box, press "As Administrator" button and enter login and password for an administrator account
8) You are inside "c:\test" folder now - move to "dir" folder, but don't go into it
9) Press space - you will see a "<DIR>" string in the Size field, telling that the folder is empty
10) Now go into the "dir" folder - you will see, that there is a non-empty file inside
This is probably some TCMAdmin issue. Since TC is able to go into the "dir" folder, it should also be able to display its size first.
Regards
Browsing as another user - no dir size displayed
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50550
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This is intentional - I do not want to ask the user for admin rights when he just wants to calculate the disk space.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
But TCMAdmin is still running - and it doesn't ask for any credentials when entering the "dir" folder, so it already has all required rights...
You are right, that asking the user for credentials just to calculate the folder size could be annoying. But when there is already TCMAdmin running, maybe it could be easily reused?
You are right, that asking the user for credentials just to calculate the folder size could be annoying. But when there is already TCMAdmin running, maybe it could be easily reused?
- ghisler(Author)
- Site Admin
- Posts: 50550
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
It would be odd to get different results when it is running and when not. 

Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com