Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #203764 > unrolled thread

exfat usb stick mounted only as root

Started byRodolfo Medina <rodolfo.medina@gmail.com>
First post2019-01-01 10:40 +0100
Last post2019-01-17 16:50 +0100
Articles 6 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  exfat usb stick mounted only as root Rodolfo Medina <rodolfo.medina@gmail.com> - 2019-01-01 10:40 +0100
    Re: exfat usb stick mounted only as root deloptes <deloptes@gmail.com> - 2019-01-01 11:10 +0100
      Re: exfat usb stick mounted only as root Rodolfo Medina <rodolfo.medina@gmail.com> - 2019-01-01 13:40 +0100
        Re: exfat usb stick mounted only as root Rodolfo Medina <rodolfo.medina@gmail.com> - 2019-01-01 13:40 +0100
        Re: exfat usb stick mounted only as root deloptes <deloptes@gmail.com> - 2019-01-01 14:10 +0100
    Re: exfat usb stick mounted only as root Sven Hoexter <sven@stormbind.net> - 2019-01-17 16:50 +0100

#203764 — exfat usb stick mounted only as root

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2019-01-01 10:40 +0100
Subjectexfat usb stick mounted only as root
Message-ID<xboGK-7RQ-7@gated-at.bofh.it>
Hi all.

In my /etc/fstab I have:

 UUID=76E8-CACF 	/mnt/2TBusbdrive exfat    rw,user,noauto       0       0

, but when I try to mount it as normal user I get:

$ mount /mnt/2TBusbdrive/
FUSE exfat 1.3.0
ERROR: failed to open '/dev/sdb1': Permission denied.

Instead, as root, I can mount it without problems.  How can I have it mounted
*also* as normal user...?

Thanks for any help,

Rodolfo

[toc] | [next] | [standalone]


#203765

Fromdeloptes <deloptes@gmail.com>
Date2019-01-01 11:10 +0100
Message-ID<xbp9M-8gB-1@gated-at.bofh.it>
In reply to#203764
Rodolfo Medina wrote:

> Hi all.
> 
> In my /etc/fstab I have:
> 
> UUID=76E8-CACF         /mnt/2TBusbdrive exfat    rw,user,noauto       0   
>    0
> 
> , but when I try to mount it as normal user I get:
> 
> $ mount /mnt/2TBusbdrive/
> FUSE exfat 1.3.0
> ERROR: failed to open '/dev/sdb1': Permission denied.
> 
> Instead, as root, I can mount it without problems.  How can I have it
> mounted *also* as normal user...?
> 
> Thanks for any help,

Are you member of plugdev group? I think this was the right one.

[toc] | [prev] | [next] | [standalone]


#203768

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2019-01-01 13:40 +0100
Message-ID<xbruV-161-3@gated-at.bofh.it>
In reply to#203765
deloptes <deloptes@gmail.com> writes:

> Rodolfo Medina wrote:
>
>> Hi all.
>> 
>> In my /etc/fstab I have:
>> 
>> UUID=76E8-CACF         /mnt/2TBusbdrive exfat    rw,user,noauto       0   
>>    0
>> 
>> , but when I try to mount it as normal user I get:
>> 
>> $ mount /mnt/2TBusbdrive/
>> FUSE exfat 1.3.0
>> ERROR: failed to open '/dev/sdb1': Permission denied.
>> 
>> Instead, as root, I can mount it without problems.  How can I have it
>> mounted *also* as normal user...?
>> 
>> Thanks for any help,
>
> Are you member of plugdev group? I think this was the right one.

Thanks, but the problem persists after doing:

 # usermod -a -G plugdev rodolfo

Any other suggestions?

Thanks,

Rodolfo

[toc] | [prev] | [next] | [standalone]


#203769

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2019-01-01 13:40 +0100
Message-ID<xbruV-161-5@gated-at.bofh.it>
In reply to#203768
Rodolfo Medina <rodolfo.medina@gmail.com> writes:

> deloptes <deloptes@gmail.com> writes:
>
>> Rodolfo Medina wrote:
>>
>>> Hi all.
>>> 
>>> In my /etc/fstab I have:
>>> 
>>> UUID=76E8-CACF         /mnt/2TBusbdrive exfat    rw,user,noauto       0   
>>>    0
>>> 
>>> , but when I try to mount it as normal user I get:
>>> 
>>> $ mount /mnt/2TBusbdrive/
>>> FUSE exfat 1.3.0
>>> ERROR: failed to open '/dev/sdb1': Permission denied.
>>> 
>>> Instead, as root, I can mount it without problems.  How can I have it
>>> mounted *also* as normal user...?
>>> 
>>> Thanks for any help,
>>
>> Are you member of plugdev group? I think this was the right one.
>
> Thanks, but the problem persists after doing:
>
>  # usermod -a -G plugdev rodolfo
>
> Any other suggestions?


...With vfat devices I have no problems...

Thanks,

Rodolfo

[toc] | [prev] | [next] | [standalone]


#203770

Fromdeloptes <deloptes@gmail.com>
Date2019-01-01 14:10 +0100
Message-ID<xbrXY-1vg-13@gated-at.bofh.it>
In reply to#203768
Rodolfo Medina wrote:

> Thanks, but the problem persists after doing:
> 
> # usermod -a -G plugdev rodolfo
> 
> Any other suggestions?

Did you log in again?

Next would be some kind of configuration somewhere - but I can't help - no
idea what your desktop is, or what your setup is.

[toc] | [prev] | [next] | [standalone]


#204493

FromSven Hoexter <sven@stormbind.net>
Date2019-01-17 16:50 +0100
Message-ID<xhi5z-5t7-9@gated-at.bofh.it>
In reply to#203764
On Tue, Jan 01, 2019 at 09:36:27AM +0000, Rodolfo Medina wrote:

Hi,

> Instead, as root, I can mount it without problems.  How can I have it mounted
> *also* as normal user...?

Short answer: it's not supported

Longer answer: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916987#35

There are patches for pmount floating around and I used a locally build and patched pmount.
Depending on your local security requirements you might be also fine with adding the suid
flag but that's not something I can recommend for everyone.

Cheers,
Sven

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web