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

Re: [Linux-cluster] mounting as non root

  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 artegence com>
To: linux clustering <linux-cluster 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 redhat com

Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]