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?
Files on samba share open empty when I double click them in TC
Moderators: Hacker, petermad, Stefan2, white
-
- 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
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?
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?
Re: Files on samba share open empty when I double click them in TC
network drive mapelgonzo wrote: 2020-09-14, 13:32 UTC Do you use a UNC path or a drive mapping when trying to open the file?
Yes in Visual Studio Code, or in any other text editor / IDE I tried, except notepad.
Yes path is correctelgonzo 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?
Noelgonzo 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?
-
- 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
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?
-
- 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
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?
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?