Re: how to mount a external harddrive without root priviledge?
- From: zhengquan <zhang.zhengquan@xxxxxxxxx>
- Date: Thu, 29 Nov 2007 21:43:15 -0800 (PST)
On Nov 29, 1:30 pm, Dances With Crows
<danSPANceswithTRAPcr...@xxxxxxxxx> wrote:
zhengquan staggered into the Black Sun and said:
I can sudo mount /dev/sdb1 /media/usb, but without sudo, [can I do]
that?
Sure. "man fstab" and look for the "user" keyword. Like so:
/dev/sdb1 /mnt/flash2 vfat noauto,user,umask=000 0 0
Is there any way to just [mount] /dev/sdb1 [on] /media/usb and
transfer files [as an] ordinary user?
Yes. See above.
--
There was also a recipe for pina colada, in Portuguese, which the
Google translator told me needed "hand grenades". Someone had put in
a colloquial translation of 'pineapple'... --Chris Croughton
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
that works, thanks,
I added
# allow user to
mount
/dev/sdb1 /media/usb auto user,noauto 0 0
to /etc/fstab
and after reboot, I can use "mount /dev/sdb1" to mount that.
.
- References:
- how to mount a external harddrive without root priviledge?
- From: zhengquan
- Re: how to mount a external harddrive without root priviledge?
- From: Dances With Crows
- how to mount a external harddrive without root priviledge?
- Prev by Date: Re: cdrecord tsize confusion
- Next by Date: Re: help with yum
- Previous by thread: Re: how to mount a external harddrive without root priviledge?
- Next by thread: Re: share your feelings with me.......
- Index(es):
Relevant Pages
|