Re: [Nix-dev] Can't mount fstab user mounts

2015-09-13 Thread James Cook
Have you tried users instead of user? The mount man page makes a
distinction. (The wikipedia article on fstab says something about being in
the group "users"; not sure where that came from.)
On Sep 12, 2015 10:02 PM, "Bryan Gardiner"  wrote:

> On Sat, 12 Sep 2015 21:32:01 -0700
> Bryan Gardiner  wrote:
>
> > Hello!
> >
> > I'm having trouble getting the "user" mount option to work in fstab.
> > I have this:
> >
> > > fileSystems."/mnt/memcard" = {
> > >   device = "/dev/mmcblk0p1";
> > >   options = "noauto,noatime,user";
> > > };
> >
> > Which generates this just fine:
> >
> > > $ grep memcard /etc/fstab
> > > /dev/mmcblk0p1 /mnt/memcard auto noauto,noatime,users 0 2
>
> "...,user" of course.  "user" does not become "users".
>
> - Bryan
>
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Can't mount fstab user mounts

2015-09-13 Thread Bryan Gardiner
Hi James,

On Sun, 13 Sep 2015 19:05:35 -0700
James Cook  wrote:

> Have you tried users instead of user? The mount man page makes a
> distinction. (The wikipedia article on fstab says something about being in
> the group "users"; not sure where that came from.)

Thanks, I did try "users" but without success.  I think I figured out
what's wrong, though:

https://github.com/NixOS/nixpkgs/issues/9848

Cheers,
Bryan


pgpUJ2mck_hL0.pgp
Description: OpenPGP digital signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Can't mount fstab user mounts

2015-09-12 Thread Bryan Gardiner
On Sat, 12 Sep 2015 21:32:01 -0700
Bryan Gardiner  wrote:

> Hello!
> 
> I'm having trouble getting the "user" mount option to work in fstab.
> I have this:
> 
> > fileSystems."/mnt/memcard" = {
> >   device = "/dev/mmcblk0p1";
> >   options = "noauto,noatime,user";
> > };
> 
> Which generates this just fine:
> 
> > $ grep memcard /etc/fstab
> > /dev/mmcblk0p1 /mnt/memcard auto noauto,noatime,users 0 2

"...,user" of course.  "user" does not become "users".

- Bryan


pgpJIUIm7L313.pgp
Description: OpenPGP digital signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev