Re: exfat usb stick mounted only as root

2019-01-17 Thread Sven Hoexter
On Tue, Jan 01, 2019 at 09:36:27AM +, 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



Re: exfat usb stick mounted only as root

2019-01-01 Thread deloptes
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.




Re: exfat usb stick mounted only as root

2019-01-01 Thread Rodolfo Medina
Rodolfo Medina  writes:

> deloptes  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



Re: exfat usb stick mounted only as root

2019-01-01 Thread Rodolfo Medina
deloptes  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



Re: exfat usb stick mounted only as root

2019-01-01 Thread deloptes
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.