On Mon, Jan 12, 2015 at 06:18:13AM -0800, pe...@easthope.ca wrote: > peter@dalton:~$ grep GRN /etc/fstab > LABEL=GRNSDHC41 /home/peter/GR auto defaults,noauto,user,users 0 0 > > peter@dalton:~$ mount LABEL=GRNSDHC41 > mount: must be superuser to use mount
The "user" option SHOULD allow this. What happens if you request the mount by mountpoint, rather than by label? $ mount /home/peter/GR Another alternative is to run "strace mount LABEL=GRNSDHC41" and then read the last few lines to see where the rejection is coming from (for example, is mount unable to read fstab, is the kernel rejecting the mount etc etc). > peter@dalton:~$ sudo mount LABEL=GRNSDHC41 > [sudo] password for peter: > peter@dalton:~$ mount | grep GR > /dev/sda1 on /home/peter/GR type ext2 > (rw,nosuid,nodev,noexec,relatime,errors=continue,user_xattr,acl) > > Does anyone have a clever way to allow a user to mount a storage > part containing a labeled filesystem without giving a password? > > Thanks, ... Peter E. > > -- > 123456789 123456789 123456789 123456789 123456789 123456789 123456789 12 > Tel +1 360 639 0202 http://carnot.yi.org/ Bcc: peter at easthope. ca > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Archive: https://lists.debian.org/E1YAfor-0002T2-Qg@dalton.invalid >
signature.asc
Description: Digital signature