I have no permission problems when I let Linux (Mint/Ubuntu derivative) auto 
mount my mp3 players. It mounts it into a /media/<uid> directory with all 
permissions correct:
/dev/sdd1 on /media/wgking/ZENSTONE type vfat 
(rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2)

wgking@HAL ~ $ ls -l /
total 128
drwxr-xr-x   2 root root  4096 May 21 10:01 bin
drwxr-xr-x   4 root root  4096 Jul  4 22:58 boot
drwxr-xr-x   2 root root  4096 Oct 22  2014 cdrom
drwxr-xr-x  16 root root  4620 Aug  6 23:00 dev
drwxr-xr-x 154 root root 12288 Aug  6 23:00 etc
drwxr-xr-x   6 root root  4096 May 13 22:34 home
lrwxrwxrwx   1 root root    33 Jan  7  2015 initrd.img -> 
boot/initrd.img-3.13.0-37-generic
lrwxrwxrwx   1 root root    33 Oct 22  2014 initrd.img.old -> 
boot/initrd.img-3.13.0-24-generic
drwxr-xr-x  25 root root  4096 Jun 27 23:10 lib
drwxr-xr-x   2 root root  4096 Jun 19 20:04 lib64
drwx------   2 root root 16384 Oct 22  2014 lost+found
drwxr-xr-x   5 root root  4096 Dec 17  2016 media
drwxr-xr-x   2 root root  4096 Aug  6 08:17 mnt
drwxr-xr-x   5 root root  4096 Jun 11 12:08 opt
dr-xr-xr-x 250 root root     0 Aug  6 07:57 proc
drwx------  15 root root  4096 Jan  1  2016 root
drwxr-xr-x  28 root root  1080 Aug  6 08:17 run
drwxr-xr-x   2 root root 12288 Jul  4 22:57 sbin
drwxr-xr-x   2 root root  4096 May 29  2014 srv
dr-xr-xr-x  13 root root     0 Aug  6 07:57 sys
drwxrwxrwt  13 root root 32768 Aug  6 23:08 tmp
drwxr-xr-x  10 root root  4096 Jan  1  2016 usr
drwxr-xr-x  11 root root  4096 Jan  1  2016 var
lrwxrwxrwx   1 root root    30 Jan  7  2015 vmlinuz -> 
boot/vmlinuz-3.13.0-37-generic
lrwxrwxrwx   1 root root    30 Oct 22  2014 vmlinuz.old -> 
boot/vmlinuz-3.13.0-24-generic
wgking@HAL ~ $ ls -l /media
total 12
drwxr-x---+ 2 root root 4096 Jan 23  2015 anne
drwxr-x---+ 2 root root 4096 Dec 17  2016 pogo
drwxr-x---+ 3 root root 4096 Aug  6 23:00 wgking
wgking@HAL ~ $ ls -l /media/wgking
total 16
drwx------ 7 wgking wgking 16384 Dec 31  1969 ZENSTONE
wgking@HAL ~ $ ls -l /media/wgking/ZENSTONE/
total 64
drwx------ 2 wgking wgking 16384 Jul 15 17:41 LaurieRKing-BeekeeperApprenice
drwx------ 2 wgking wgking 16384 Jul 29 08:22 Master and Commander
drwx------ 2 wgking wgking 16384 Jul 29 21:46 Radio
drwx------ 2 wgking wgking 16384 May 23 22:02 System Volume Information

Have you tried removing the fstab entry and letting Linux automount?

Greg

----- Original Message -----
From: "Joe S" <joes...@shaw.ca>
To: "clug-talk@clug.ca clug-talk@clug.ca" <clug-talk@clug.ca>
Sent: Sunday, August 6, 2017 8:33:47 PM
Subject: [clug-talk] fstab: mounting mp3 player

I'm having trouble mounting my mp3 player to use as a user.
this is my fstab entry:
UUID=44AD-4794  /media/clip     vfat    rw,noauto,user,sync  0  0

It works OK if I manually mount this: mount /media/clip
but if linux mounts it when I plug it in then it mounts it with root
ownership of the files and directories and I then have to log in as
root to move files in or out. Is there a way to fix this. I have been
looking on the NET for solutions, but I am not finding anything, at
least not that I understand.

Joe

_______________________________________________
clug-talk mailing list
clug-talk@clug.ca
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

_______________________________________________
clug-talk mailing list
clug-talk@clug.ca
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to