Hi,
TC 7 does a good job by offering to do things as Administrator, for instance deleting or moving files. This even works when entering directories that are for Administrator only, last not least Administrator's user directory.
Unfortunately this option is not available when reading files - for viewing and copying and maybe other occasions. Any operation on Administrator's files without additional ACLs fails with error.
So please add Administrator access for files!
Thanks!
View or copy files as normal user by becoming Admin.
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Copying and moving such files will indeed work, but viewing or editing will NOT work. Why?
- Viewing cannot work because Lister is part of TC, not part of the background program which performs the operation. There are 3 possible ways to solve this problem:
1. Pass ReadFile calls to the background program. Downside: wouldn't work with lister plugins
2. Copy the viewed file to TEMP before viewing it. Downside: very slow for large files
3. Set the necessary access rights (ACL) to allow the user to access the file. Downside: The file will remain accessible, so the user separation is defeated.
- Editing doesn't work, because the editor doesn't have the rights to access the file. Solution: Create a button with the
Command:
C:\WINNT\system32\runas.exe /user:yourcomputername\Administrator
Parameters: notepad.exe %P%N
Maybe someone has an idea how this could be solved in a better way?
- Viewing cannot work because Lister is part of TC, not part of the background program which performs the operation. There are 3 possible ways to solve this problem:
1. Pass ReadFile calls to the background program. Downside: wouldn't work with lister plugins
2. Copy the viewed file to TEMP before viewing it. Downside: very slow for large files
3. Set the necessary access rights (ACL) to allow the user to access the file. Downside: The file will remain accessible, so the user separation is defeated.
- Editing doesn't work, because the editor doesn't have the rights to access the file. Solution: Create a button with the
Command:
C:\WINNT\system32\runas.exe /user:yourcomputername\Administrator
Parameters: notepad.exe %P%N
Maybe someone has an idea how this could be solved in a better way?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Fine! Please do it!ghisler(Author) wrote:Copying and moving such files will indeed work,

Hmmm, for my purposes it would suffice to *ask* the user whether the ACL should be changed and then do that permanently.3. Set the necessary access rights (ACL) to allow the user to access the file. Downside: The file will remain accessible, so the user separation is defeated.
There may be other options.