Windows Mapped Network Drive Does not show linux dotfiles

1

1

I connect to a VDI machine via Citrix. This is a dedicated VDI. I connect on my physical Mac Machine running MacOs 10.14.4

The VDI machine is running windows 10 and it automatically has my Host machine drive mapped (The Mac drive).

In the Windows VDI, I navigate to a folder on the mapped network drive (Mac) but it does not show any file/folder that starts with . such as .git folder or .content.xml file.

Presumably because dotfiles are treated as hidden and MacOs does not report them to windows?

I have tried this and this

I have also naviaged to the directory in CMD and tried dir /ah and same result, no dotfiles show.

Any help is appreciated!

UPDATE:

I have tested accessing the same VDI but from a windows machine instead of a mac machine. It works just fine and the mapped drive does show the dotfiles. It seems only macs are impacted by this issue.

Ahmed Musallam

Posted 2019-06-27T19:17:57.847

Reputation: 19

Samba has an "hide dot files = no" option, but you are probably not using Samba? Are you using dir (or Explorer) and does dir /ah show the dotfiles? – harrymc – 2019-07-15T20:39:56.833

I am not using samba. The VDI maps the local Mac drive as a windows network drive. – Ahmed Musallam – 2019-07-15T20:45:48.447

And my second question? – harrymc – 2019-07-15T21:23:20.260

Yes, I used the /ah flags, same result, unfortunately. – Ahmed Musallam – 2019-07-15T23:29:27.660

what happens if you create a directory starting with a dot on the share? – tukan – 2019-07-16T07:14:42.630

Which software do you use to go into the VDI machine? SSH, remote desktop? – harrymc – 2019-07-16T08:20:22.093

1In addition: I have seen several times users in your situation that have created symlinks to dotfiles/folders. I wonder if that's not the solution when your OS refuses to externally list such files. – harrymc – 2019-07-16T09:16:18.933

@harrymc adding a dotfile folder on windows creates the folder but I cannot open it, and on refresh, the folder no longer appears. As I indicated, I login via Citrix. Creating symlinks works, but is not feasible because I have many many dotfiles that get created/removed and some that are not managed by me. Also, it is important to keep dotfile names as they are and not change them. – Ahmed Musallam – 2019-07-18T19:16:20.683

Answers

0

Since dir /ah has not shown the dotfiles, it is clear that MacOs does not publish these files when externalizing the folder.

I don't have a Mac, but from published data it seems that there is no parameter for including dotfiles (or perhaps hidden files). Search your software for such an option.

If no such option exists, perhaps the solution will be to create symlinks to these dotfiles or folders, stored inside the mapped folder, whose names will not start with a dot. I have seen several times users in your situation that have created such symlinks, probably for the same reason. You will just have to experiment.

harrymc

Posted 2019-06-27T19:17:57.847

Reputation: 306 093

You have indicated that you have too many dotfiles for symlinks to be a solution. The problem is on the Mac side in the software that you use. I suggest that you ask Citrix Support if they have a parameter for passing dotfiles, and if this doesn't exist then there is no solution except using another software, which might be impractical for you. – harrymc – 2019-07-18T19:25:29.003

According to the last entry in this thread, the file/folder should be designated for 'Offline Access' (aka Sync), but I don't know if Citrix Files is your product.

– harrymc – 2019-07-19T08:30:44.043

Thanks for the help! My product is citrix-reciever and not citrix sharefile. I am trying to reach citrix support to see if there is any configuration that can be done on their side. Will keep this thread updated. – Ahmed Musallam – 2019-07-19T19:59:17.713

You might also post a question in the Citrix Discussions Forums.

– harrymc – 2019-07-20T06:46:33.743

I’ll try that, tanks! – Ahmed Musallam – 2019-07-20T20:05:43.033