A problem on a shared dir

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
HBB
Senior Member
Senior Member
Posts: 295
Joined: 2008-05-05, 21:31 UTC

A problem on a shared dir

Post by *HBB »

Tested on Win7HP 64 bit with TC10 (+ TC12RC4 + TC8.52a)

1) "MyServer" has a shared dir "MyDir" with appropriate write permissions

2) A test file has been created in server side as follows:

\\MyServer\MyDir\Test.txt

3) "\\MyServer\MyDir" is linked to a dir in my computer:

mklink /d "E:\MyShares\MyDir" "\\MyServer\MyDir"

4) The dir in my computer is mapped to a drive letter:

net use U: "\\localhost\E$\MyShares"

The test file Test.txt can be renamed by using Windows Explorer successfully

But TC gives the following error:

---------------------------
Total Commander
---------------------------
Error: Cannot read U:\MyDir\Test.txt!
---------------------------
OK Cancel
---------------------------


Edited -> Red ones
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Missing read rights for the file? The rights to rename a file aren't the same as the files to access its content.
Author of Total Commander
https://www.ghisler.com
HBB
Senior Member
Senior Member
Posts: 295
Joined: 2008-05-05, 21:31 UTC

Post by *HBB »

I think there is no problem about permissions to rename a file or folder, because windows explorer can do it.
User avatar
Dalai
Power Member
Power Member
Posts: 9387
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

Uh, a path like \\localhost\E$ is an administrative share, which only administrators are allowed to use (hence the name). Explorer most likely requests permission to get access to that share, but TC doesn't; TC would require to delegate the task to its admin tool.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
HBB
Senior Member
Senior Member
Posts: 295
Joined: 2008-05-05, 21:31 UTC

Post by *HBB »

Dalai wrote:a path like \\localhost\E$ is an administrative share, which only administrators are allowed to use (hence the name). Explorer most likely requests permission to get access to that share, but TC doesn't; TC would require to delegate the task to its admin tool.
When I open \\localhost\E$ directly in TC, I can rename/edit/... files and folders, so, it seems not the problem for TC.

Thank you for reply

regards
HBB
Senior Member
Senior Member
Posts: 295
Joined: 2008-05-05, 21:31 UTC

Post by *HBB »

This problem seems to be belong to windows.

I have decided to use "subst u: E:\MyShares" with a shortcut file in startup folder even if it has lately mapping problems.

Thanks to the author and Dalai.

.
Post Reply