[Tfug] Bizarre permissions situation...

John Karns johnkarns at gmail.com
Tue Jan 19 19:33:32 MST 2010


On Tue, Jan 19, 2010 at 7:42 AM, Jim March <1.jim.march at gmail.com> wrote:
> Y'all will love this one.
>
> I'm running Karmic 64bit on my Dell lappy.  I got ahold of a new ("to
> me") MP3 player, a Sandisk E260.  Has 4gigs of flash formatted FAT32.

IMO, great players (when using Rockbox, at least)!


> In order to mount it I have to do a terminal number:
>
> sudo mount /dev/sdb1 /media/disk
>
> OK...but then I don't have permissions for it as a regular user.
>
> No problem, I do "gksudo nautilus" and try and reset
> permissions/ownership for /media/disk...it won't let me.  Huh?

The way I usually handle that situation is to edit /etc/fstab and put
my UID in the line for the device.

/dev/sdc1       /media/ext-vfat auto user,noauto,uid=1000   0  0

UID can be found in /etc/passwd

-- 
John Karns




More information about the tfug mailing list