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<---
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
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'
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
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
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
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
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
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 "