bug#39670: Cannot mount NFS share as user or root

2020-10-12 Thread Maxim Cournoyer
Hello Nathan, Nathan Dehnel writes: > You should also setuid mount.nfs4 because the mount command calls that if > you are using NFSv4. [...] I don't think that's necessary, if your program simply calls to the 'mount' command: sudo strace -f -s200 mount localhost:/pub /tmp/pub --8<---

bug#39670: Cannot mount NFS share as user or root

2020-10-02 Thread Nathan Dehnel
You should also setuid mount.nfs4 because the mount command calls that if you are using NFSv4. On Thu, Oct 1, 2020 at 2:47 PM Maxim Cournoyer wrote: > Hi! > > > Nathan Dehnel writes: > > > >> Right, but it's more inconvenient than just clicking the share in thunar > >> and it mounting. Actually

bug#39670: Cannot mount NFS share as user or root

2020-10-01 Thread Maxim Cournoyer
Hi! > Nathan Dehnel writes: > >> Right, but it's more inconvenient than just clicking the share in thunar >> and it mounting. Actually, I can't mount it without doing "sudo" first, >> despite having the "user" fstab flag set. This actually might be a separate >> issue, but I'm not sure. > > That'

bug#39670: Cannot mount NFS share as user or root

2020-09-24 Thread Maxim Cournoyer
Hi, Nathan Dehnel writes: > Right, but it's more inconvenient than just clicking the share in thunar > and it mounting. Actually, I can't mount it without doing "sudo" first, > despite having the "user" fstab flag set. This actually might be a separate > issue, but I'm not sure. That's a good p

bug#39670: Cannot mount NFS share as user or root

2020-05-27 Thread Maxim Cournoyer
I thought documenting this, but we don't really have a section to cover this, and it isn't really Guix specific... So, closing. Thank you. Maxim

bug#39670: Cannot mount NFS share as user or root

2020-02-20 Thread maxim . cournoyer
Hello, Maxim Cournoyer writes: > > I encountered this too. Perhaps we should patch some references to > mount.nfs (from nfs-utils) in the util-linux package which provides > 'mount'. > > In the meantime, you should use "mount.nfs" directly. I've looked into patching util-linux to reference expl

bug#39670: Cannot mount NFS share as user or root

2020-02-18 Thread Maxim Cournoyer
Hello, On February 18, 2020 9:43:29 PM UTC, Nathan Dehnel wrote: >bash-5.0$ mount.nfs gentooserver:/ /media/store >mount.nfs: permission denied: no match for /media/store found in >/etc/fstab > >bash-5.0$ cat /etc/fstab | grep /media/store >gentooserver:/ /media/store nfs4 >rw,_netdev,noauto,user

bug#39670: Cannot mount NFS share as user or root

2020-02-18 Thread Nathan Dehnel
bash-5.0$ mount.nfs gentooserver:/ /media/store mount.nfs: permission denied: no match for /media/store found in /etc/fstab bash-5.0$ cat /etc/fstab | grep /media/store gentooserver:/ /media/store nfs4 rw,_netdev,noauto,user,lazytime,exec,tcp ? On Tue, Feb 18, 2020 at 3:33 PM Maxim Cournoyer wr

bug#39670: Cannot mount NFS share as user or root

2020-02-18 Thread Maxim Cournoyer
Hello Nathan, Nathan Dehnel writes: > bash-5.0$ mount /media/store > mount: /media/store: bad option; for several filesystems (e.g. nfs, > cifs) you might need a /sbin/mount. helper program > > /etc/config.scm: > > (file-system > (mount-point "/media/store") > (device "