Re: How to make mount command mount partions as user not only as root ?
- From: Aragorn <aragorn@xxxxxxxxxxxxxxxxxxx>
- Date: Wed, 14 May 2008 18:35:21 +0200
=SERGE= wrote:
hello
I'd be grateful if you'd explain me howto get mount
command to mount partions as user not only as root (w/o fstab)
I try to mount /dev/hda4 (vfat) partion
I gave rwx to /dev/hda4
I gave rwx to /mnt/hda4
That's irrelevant.
I gave +s to /bin/mount
I do : mount -t vfat /dev/hda4 /mnt/hda4
No way, I always get 'Only root can do that'
What is the way to do it?
The only way I can think of is to edit */etc/fstab* and explicitly
set /user/ or /users/ as a mount option.
Like so...
/dev/hda4 /mnt/hda4 vfat defaults,users 0 0
(Substitute /defaults/ for whatever mount options you have for it.)
--
*Aragorn*
(registered GNU/Linux user #223157)
.
- References:
- Prev by Date: Re: How to make mount command mount partions as user not only as root ?
- Next by Date: Re: Disk noise in audio
- Previous by thread: Re: How to make mount command mount partions as user not only as root ?
- Next by thread: Re: How to make mount command mount partions as user not only as root ?
- Index(es):
Relevant Pages
|