[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mounting USB devices




On Sat, 11 Jan 2003, Trey Sizemore wrote:

> One more dumb question...how do I know my user ID?

cat /etc/group |grep your_username


/ernst

>
>
> On Sat, 11 Jan 2003 16:18:38 -0600, "Tom Hoover"
> <tom-key-debian.a101e4@hisword.net> said:
>
>
> > On Sat, Jan 11, 2003 at 09:52:05AM -0500, Trey Sizemore wrote:
> > > 1.  Are these assignments going to change each time I shut down and then
> > > start up my machine (as far as how they are detected)?  I asked because
> > > I am running a rather old machine that I leave on during the day, but
> > > then shut down at night.
> >
> > I doubt they would change, unless you added or removed some hardware.
> > (I've never had my dvd, cd-rw, or tape drive change, so I'm not
> > expecting the CF drive to change).  I hardly ever shut my machines down,
> > so I may be wrong...  :-)
> >
> > > 2.  How do I give myself access to my devices (read & write) as a normal
> > > user?  I had to su from the terminal to execute teh sg_map command
> > > because I had no access as a normal user.  This would be for all devices
> > > like my CD drives, Zip drive, CF reader, etc.
> >
> > Use the "uid" and "gid" mount options in your /etc/fstab:
> >
> > /dev/cf         /mnt/cf         vfat    user,noauto,uid=1000,gid=1000   0
> >       0
> >
> > The "user" option above allows you to mount the device without changing
> > to root, and "uid/gid" options are used to set the desired user (1000,
> > in my case).
> >
> >
> > --
> > To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact
> > listmaster@lists.debian.org
> >
> --
>   Trey Sizemore
>   trey@fastmail.fm
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>



Reply to: