This forum uses cookies. Click X button to hide this message. What is stored? 
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Wrong network drive reference

 
Post new topic   Reply to topic    Total Commander Forum Index -> TC7.56(a)/7.57 bug reports (English) Printable version
View previous topic :: View next topic  
Author Message
findev
Junior Member
Junior Member


Joined: 25 Jan 2012
Posts: 7

PostPosted: Wed Jan 25, 2012 4:24 pm    Post subject: Wrong network drive reference Reply with quote

Hi,

I had in system network drive W mapped to \\T42\w, could access it via TC and Explorer. Then I (in My computer) unmapped the drive and mapped again W, but to different host (actually I renamed T42 PC to server) \\server\w.

I can open this drive via explorer, but in TC if I press Alt+F2 I see that it is still pointing to \\T42\w (when I select - it can't open). Tried restarting TC - didn't help.

I could replicate this on 2 computers, but haven't restarted any of those computers to see if issue is gone after reboot (prolly it will)
Back to top
View user's profile Send private message
HolgerK
Power Member
Power Member


Joined: 26 Jan 2006
Posts: 4648
Location: Europe, Aachen

PostPosted: Wed Jan 25, 2012 4:48 pm    Post subject: Reply with quote

Windows 7 (or Vista) and running TC with "Run as Administrator"?

Mapped network drives are user specific and an elevated user is counted as different user.

Regards
Holger
Back to top
View user's profile Send private message Send e-mail
findev
Junior Member
Junior Member


Joined: 25 Jan 2012
Posts: 7

PostPosted: Fri Jan 27, 2012 8:39 am    Post subject: Reply with quote

HolgerK wrote:
Windows 7 (or Vista) and running TC with "Run as Administrator"?

Mapped network drives are user specific and an elevated user is counted as different user.

Regards
Holger


Windows 7 x64 and TC running as Administrator (I always run it as admin).

P.S.: still haven't rebooted the PC, issue is still there
Back to top
View user's profile Send private message
findev
Junior Member
Junior Member


Joined: 25 Jan 2012
Posts: 7

PostPosted: Fri Jan 27, 2012 8:46 am    Post subject: Small experiment Reply with quote

Hi,

just made small experiment at work PC, I had TC running on Win7 x64 as admin, I went to My computer and created mapped network drive z, I confirmed that it opens, switched back to TC, it doesnt see the letter, restarted TC - yes, network drive is there, can open, everything is fine. Next, I went back to My computer -> right click on newly mapped drive -> Disconnect, drive disappeared, switched to TC drive was still there and was functional, I restarted TC and drive was still there and still functional.

Hope this helps
Back to top
View user's profile Send private message
HolgerK
Power Member
Power Member


Joined: 26 Jan 2006
Posts: 4648
Location: Europe, Aachen

PostPosted: Fri Jan 27, 2012 9:05 am    Post subject: Reply with quote

As i said, elevated and normal user are handled like different users.
If you map a drive from explorer (I guess this is what you did) the mapping is done with normal user rights, and not visible inside an elevated TC until you do the same inside TC.
This is not a TC bug, but a known behavior of UAC enabled Windows version.

BTW:
Quote:
(I always run it as admin)

This is a security risk. Exclamation
It means that every process started from this TC (even documents opened via file association) are also elevated.
If TC is your primary tool to search and open files or programs, you can also turn the UAC completely off. Confused

Regards
Holger
Back to top
View user's profile Send private message Send e-mail
findev
Junior Member
Junior Member


Joined: 25 Jan 2012
Posts: 7

PostPosted: Fri Jan 27, 2012 10:30 am    Post subject: Reply with quote

HolgerK wrote:
As i said, elevated and normal user are handled like different users.
If you map a drive from explorer (I guess this is what you did) the mapping is done with normal user rights, and not visible inside an elevated TC until you do the same inside TC.
This is not a TC bug, but a known behavior of UAC enabled Windows version.

BTW:
Quote:
(I always run it as admin)

This is a security risk. Exclamation
It means that every process started from this TC (even documents opened via file association) are also elevated.
If TC is your primary tool to search and open files or programs, you can also turn the UAC completely off. Confused

Regards
Holger


Yes, I tried to run TC without elevation - mapped drive was pointing to correct location.

Running TC as admin is a security risk, but I'm not worried cause I know my use cases (no matter how this sounds Smile.
One needs to run Visual Studio as admin to access IIS Smile

And no, I dont agree that turning of UAC is a good option here.

Anyway, thanks for your help and have a good weekend!
Back to top
View user's profile Send private message
HolgerK
Power Member
Power Member


Joined: 26 Jan 2006
Posts: 4648
Location: Europe, Aachen

PostPosted: Sun Jan 29, 2012 3:23 pm    Post subject: Reply with quote

Quote:
One needs to run Visual Studio as admin to access IIS Smile

Some task may require elevation. But TC? Always?
Quote:
And no, I dont agree that turning of UAC is a good option here.
I didn't say that this is a good option but meant that this option may have the same security gaps

Anyway, it's your decision.

Regards
Holger
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC7.56(a)/7.57 bug reports (English) All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group