Files on samba share open empty when I double click them in TC

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
KLM613
Junior Member
Junior Member
Posts: 8
Joined: 2020-09-13, 19:39 UTC

Files on samba share open empty when I double click them in TC

Post by *KLM613 »

I have my source code in a samba share, if I open them from the windows explorer or directly from the IDE they open fine, also if I F4 (notepad) them from TC, but if I double click them from there they always open without any content.
Any idea what's going on?
gdpr deleted 6
Power Member
Power Member
Posts: 872
Joined: 2013-09-04, 14:07 UTC

Re: Files on samba share open empty when I double click them in TC

Post by *gdpr deleted 6 »

Do you use a UNC path or a drive mapping when trying to open the file?

In which application is the "empty" file opened? In the IDE?

When the "empty" file is opened in the application (IDE?), what does the application show as the full/absolute file path? Is it the correct file path?

Do you by any chance run TC with a (privileged) user account that is different from your normal desktop user account?
KLM613
Junior Member
Junior Member
Posts: 8
Joined: 2020-09-13, 19:39 UTC

Re: Files on samba share open empty when I double click them in TC

Post by *KLM613 »

elgonzo wrote: 2020-09-14, 13:32 UTC Do you use a UNC path or a drive mapping when trying to open the file?
network drive map
elgonzo wrote: 2020-09-14, 13:32 UTC In which application is the "empty" file opened? In the IDE?
Yes in Visual Studio Code, or in any other text editor / IDE I tried, except notepad.
elgonzo wrote: 2020-09-14, 13:32 UTC When the "empty" file is opened in the application (IDE?), what does the application show as the full/absolute file path? Is it the correct file path?
Yes path is correct
elgonzo wrote: 2020-09-14, 13:32 UTC Do you by any chance run TC with a (privileged) user account that is different from your normal desktop user account?
No
gdpr deleted 6
Power Member
Power Member
Posts: 872
Joined: 2013-09-04, 14:07 UTC

Re: Files on samba share open empty when I double click them in TC

Post by *gdpr deleted 6 »

KLM613 wrote: 2020-09-14, 14:38 UTC network drive map
1. What if you use the UNC path instead of a mapped drive? Same issue?

2. If you map the same share again on a second, different drive letter and access the file through this new mapped drive, will you see the same issue?
gdpr deleted 6
Power Member
Power Member
Posts: 872
Joined: 2013-09-04, 14:07 UTC

Re: Files on samba share open empty when I double click them in TC

Post by *gdpr deleted 6 »

I almost expect the TC process being restricted/constrained in some way. When double-clicking on a file in TC, whatever application associated with that file is going to be started as a "child" process of TC, possibly inheriting this restriction.

Perhaps this restriction stems from some possible antivirus/security software or similar on your system. But aside from this guess, i have no clue what that restriction/constraint could be.


What happens if you press F3 on an affected file? Is the file content shown in the lister, or is the lister not showing any content, too?
Post Reply