LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-14-2018, 04:45 PM   #1
Dogsdinner
LQ Newbie
 
Registered: Oct 2018
Distribution: Ubuntu 18.04
Posts: 3

Rep: Reputation: Disabled
Cool How to mount a share over VPN


Hi, I'm trying to mount a share over VPN but having trouble. Nautilus mounts correctly, read/write no problem. I'd like a GUI app I'm using to use the mount point that Nautilus creates, while it can read the files over VPN it can only write a zero length file then errors. (I can't use the mount point that Nautilus creates on my network shares either)

1. Why can Nautilus write files on my network and over VPN but when an app tries to use Nautilus's mount point the app can read OK but can't write file content, but can create a zero length file? What's the fix?

So to solve the problem for my network I've created my own mount point thus:

sudo mount -t cifs -o user=****,password=****,uid=myname //192.168.1.10/Photos/ /home/ronnie/Far_shares/Photos_LOCAL/

And the app can use this mount point fine.


After running the VPN I've tried:-
sudo mount -t cifs -o user=****,password=****,rw,hard,nosetuids,noperm,sec=ntlm,uid=myname //192.168.0.5/Photos/ /home/ronnie/Far_shares/Photos_LOCAL/

I tried loads of combinations of options all to no avail - mount errors with

mount error(95): Operation not supported

Can anyone help please? Is it really the case the mount cannot create a mount point over a VPN? If it can't what does Nautilus use to create it's mount point?

Thanks
 
Old 10-14-2018, 08:32 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004
Nautilus can mount without being run by root. But then only 'it' can access write functionality.
 
Old 10-16-2018, 03:41 PM   #3
Dogsdinner
LQ Newbie
 
Registered: Oct 2018
Distribution: Ubuntu 18.04
Posts: 3

Original Poster
Rep: Reputation: Disabled
On that basis, what command does it use to be able to create a mount point and one which can read and write? That's what I'm after.

I don't suppose it's possible to search it's source code? If it was possible, where would I find the code in order to search it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Mount samba share on Slackware: mount error(6) from mount.cifs frushiyama Slackware 11 01-22-2015 07:12 PM
[SOLVED] can mount WinXP share but not Win7 share in fstab dodgefan Linux - Server 9 06-13-2010 07:45 PM
How can I mount a NFS share that have a SMB share mounted? perezyanez Linux - Networking 2 09-26-2008 09:03 AM
mount windows share export to samba share -> improve network performance tuning newuser77 Linux - Server 1 07-23-2008 11:28 AM
show the samba share but can't mount the share badall Linux - Server 3 05-30-2007 04:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration