I put the options you suggsted, but the mp3 player wouldn't mount when I plugged it in. I tried manually and didn't work. mount /media/clip mount: only root can mount UUID=44AD-4794 on /media/clip This is my fstab: UUID=44AD-4794 /media/clip vfat rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2 0 0
I couldn't find an explanation of some of the options on the NET: shortname=mixed, showexec, flush, uhelper=udisks2 Do you have a link to a explanation of these options? On Wed, 16 Aug 2017 23:16:58 -0600 (MDT) Greg King <wgk...@shaw.ca> wrote: > I have never worked with that distro or heard of it. Ubuntu/Mint is > also based on Debian, so I suspect the mount options are the same. > The options Mint uses for automount seem to work for > me: /media/wgking/ZENSTONE type vfat > (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2) > > substitute the "1000" with your uid/gid #, and you should be good to > go. > > ----- Original Message ----- > From: "Joe S" <joes...@shaw.ca> > To: "clug-talk@clug.ca clug-talk@clug.ca" <clug-talk@clug.ca> > Sent: Wednesday, August 16, 2017 10:44:24 PM > Subject: Re: [clug-talk] fstab: mounting mp3 player > > I am using Bunsenlabs > > On Wed, 16 Aug 2017 21:07:45 -0600 (MDT) > Greg King <wgk...@shaw.ca> wrote: > > > It looks like the Linux behaviour is distro dependent. For Linux > > Mint, and I assume Ubuntu upstream, directories created in > > the /media/<uid> are owned by the <uid>. What distro are you using? > > > > ----- Original Message ----- > > From: "Joe S" <joes...@shaw.ca> > > To: "clug-talk@clug.ca clug-talk@clug.ca" <clug-talk@clug.ca> > > Sent: Wednesday, August 16, 2017 1:30:21 PM > > Subject: Re: [clug-talk] fstab: mounting mp3 player > > > > I was letting Linux automount that was why I am having problems. > > When Linux automounts it takes ownership of the files; when I put > > the entry in fstab and mount it myself I will have ownership of the > > files. It makes it easier to work with. I am having trouble > > figuring out what options to use for fstab. > > > > Joe > > > > On Sun, 6 Aug 2017 23:13:24 -0600 (MDT) > > Greg King <wgk...@shaw.ca> wrote: > > > > > 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 > > > > > > _______________________________________________ > > 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 > > > _______________________________________________ > 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 _______________________________________________ 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