On 12/07/17 03:03, Andreas Hasenack wrote:
> I tried your shares, and they seem to work as expected. Note that
> [Homes] is read only (default for "read only" is "yes"), so you won't be
> able to write to Homes or even Maps under it while connected to Homes,
> but if you connect to Maps, then you can:
>
> oot@nsn7:~# for d in Home Maps Media; do mount //10.0.5.55/$d /patrick/$d -o 
> user=patrick,password=patrick,vers=1.0; done
> root@nsn7:~# cd /patrick/Home/
> root@nsn7:/patrick/Home# touch hello-there
> touch: cannot touch 'hello-there': Permission denied
> root@nsn7:/patrick/Home# cd Maps
> root@nsn7:/patrick/Home/Maps# touch hello-there
> touch: cannot touch 'hello-there': Permission denied
> root@nsn7:/patrick/Home/Maps# cd /patrick/Maps/
> root@nsn7:/patrick/Maps# touch hello-there
> root@nsn7:/patrick/Maps# cd /patrick/Home/Maps/
> root@nsn7:/patrick/Home/Maps# ll
> total 0
> drwxr-xr-x+ 2 1001 1002 0 Jul 11 11:53 ./
> drwxr-xr-x+ 4 1001 1002 0 Jul 11 11:50 ../
> -rw-r--r--+ 1 1001 1002 0 Jul 11 11:53 hello-there
>
>
> Note that Home is listed as rw, but it's read-only enforced on the server:
> root@nsn7:~# mount -t cifs
> //10.0.5.55/Home on /patrick/Home type cifs 
> (rw,relatime,vers=1.0,cache=strict,username=patrick,domain=15-89,uid=0,noforceuid,gid=0,noforcegid,addr=10.0.5.55,unix,posixpaths,serverino,mapposix,acl,rsize=1048576,wsize=65536,actimeo=1,user=patrick)
> //10.0.5.55/Maps on /patrick/Maps type cifs 
> (rw,relatime,vers=1.0,cache=strict,username=patrick,domain=15-89,uid=0,noforceuid,gid=0,noforcegid,addr=10.0.5.55,unix,posixpaths,serverino,mapposix,acl,rsize=1048576,wsize=65536,actimeo=1,user=patrick)
> //10.0.5.55/Media on /patrick/Media type cifs 
> (rw,relatime,vers=1.0,cache=strict,username=patrick,domain=15-89,uid=0,noforceuid,gid=0,noforcegid,addr=10.0.5.55,unix,posixpaths,serverino,mapposix,acl,rsize=1048576,wsize=65536,actimeo=1,user=patrick)
>
> A few more questions:
>
> a) I don't understand your mentioning of "run/user/1000/gvfs", how is
> that involved?
In Thunar, if you type smb://mainpc/maps into the address bar then it 
automounts to /run/user/1000/gvfs/smb-share:server=mainpc,share=maps, 
this is a built in behaviour of the file manager Thunar on Xubuntu 
(assuming your user account id is 1000)
>
> b) do you have usershares set? try:
> sudo net usershare list -l
No output from this command
>
> c) have you tried smbclient?
Not yet
>
> d) are there other filesystems involved in these shares and their
> mountpoints?
>
> e) Can we narrow down which shares are not working, out of your 3? Home,
> Maps, Media? Or all of them, when contacted with a xenial samba cifs (or
> smbclient)?
I am primarily testing the share Maps which should be fully read/write
If I attempt to mount myself using mount.cifs  or the automount in 
Thunar (smb://mainpc/maps) the most I can get is read only access.

Most of the time I am mounting shares in fstab and the usual outcome is 
permission denied error 13 and no mount at all (not even read only)

>
> My cifs-utils package on xenial is at version 2:6.4-1ubuntu1.1, and my samba 
> packages are:
> # dpkg-query -W samba-common samba-common-bin samba-libs smbclient
> samba-common  2:4.3.11+dfsg-0ubuntu0.16.04.8
> samba-common-bin      2:4.3.11+dfsg-0ubuntu0.16.04.8
> samba-libs:amd64      2:4.3.11+dfsg-0ubuntu0.16.04.8
> smbclient     2:4.3.11+dfsg-0ubuntu0.16.04.8
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1703490

Title:
  Unable to mount network volume on 17.10 Samba server

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1703490/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to