Mounting SMB with hooks



Hello, everybody,

I hope I'm in the right place.

Here's my problem. We are using Ubuntu Gnome in operation on several clients. For various reasons some of them don't want to and can't do without Microsoft office. As a compromise we now use PlayOnLinux and Office 2010. This works very well except for the access to SMB shares. GVFS creates a directory under

/run/user/uid/gvfs/smb-share:server=192.168.0.1,share=test'

 And here is also our problem with the ":" the directory cannot be opened in Office/Wine. I have found out by searching and trying that if I put an "ln -s ... ~/network" the access is possible without problems.

But I do not expect the users to create them themselves. I would like to know if I can change the name of the share directory by configuration. As an alternative I could also create a hook in form of a bash script that creates the link. Unfortunately I did not find it described in the documentation.

Thanks for any help.

Translated with www.DeepL.com/Translator (free version)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]