I tried that, unsuccessfully.
The relevant line in my fstab is:
/dev/gnbd/disk /mnt/shared gfs2 user,noauto 0 0
And this is the error msg when trying "mount /mnt/shared" as a non root user
/sbin/mount.gfs2: error mounting /dev/gnbd/disk on /mnt/shared: Operation not permitted
Any suggestions?
Lots of thanks.
----- Original Message ----
From: Maciej Bogucki <maciej.bogucki@xxxxxxxxxxxxx>
To: linux clustering <linux-cluster@xxxxxxxxxx>
Sent: Tuesday, May 6, 2008 12:57:41 PM
Subject: Re: mounting as non root
nch napisał(a):
>
> Hi, there.
> I can mount a gfs2 filesystem (gnbd) as root, but I'm having
> difficulties to mount it or, at least, giving write access to other
> users/groups.
> Any ideas on how to do this?
It is from "man mount"
(iii) Normally, only the superuser can mount file systems.
However, when fstab contains the user option on a line, anybody can
mount the corresponding system.
Thus, given a line
/dev/cdrom /cd iso9660 ro,user,noauto,unhide
any user can mount the iso9660 file system found on his CDROM
using the command
Best Regards
Maciej Bogucki
--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster
From: Maciej Bogucki <maciej.bogucki@xxxxxxxxxxxxx>
To: linux clustering <linux-cluster@xxxxxxxxxx>
Sent: Tuesday, May 6, 2008 12:57:41 PM
Subject: Re: mounting as non root
nch napisał(a):
>
> Hi, there.
> I can mount a gfs2 filesystem (gnbd) as root, but I'm having
> difficulties to mount it or, at least, giving write access to other
> users/groups.
> Any ideas on how to do this?
It is from "man mount"
(iii) Normally, only the superuser can mount file systems.
However, when fstab contains the user option on a line, anybody can
mount the corresponding system.
Thus, given a line
/dev/cdrom /cd iso9660 ro,user,noauto,unhide
any user can mount the iso9660 file system found on his CDROM
using the command
Best Regards
Maciej Bogucki
--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
-- Linux-cluster mailing list Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster