[Linux-cluster] mounting as non root

nch underscore_dot at yahoo.com
Tue May 6 12:32:39 UTC 2008


  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 at artegence.com>
To: linux clustering <linux-cluster at redhat.com>
Sent: Tuesday, May 6, 2008 12:57:41 PM
Subject: Re: [Linux-cluster] 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 at redhat.com
https://www.redhat.com/mailman/listinfo/linux-cluster



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20080506/55baa7b3/attachment.htm>


More information about the Linux-cluster mailing list