Find the answer to your Linux question:
Results 1 to 4 of 4
Ok, I got a little problem here, I need to find a way to let a user mount a certain NFS dir make a dir in the mount unmount the ...
  1. #1
    Just Joined!
    Join Date
    Mar 2005
    Posts
    2

    Allowing user to mount

    Ok, I got a little problem here, I need to find a way to let a user mount a certain NFS dir make a dir in the mount unmount the dir and mount the newly created dir.
    BUT depending on what user you are you will create another dir ($USERmount) this is all done by a script (the dir creating and (un)mounting but if I'm not a root I cant mount the NFS map and /etc/fstab wont help me here (I think)

    Anyone got an idea how to let a user mount something or how I could bypass the "mount: you have to be root for this" message?

  2. #2
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,789
    to allos the user to mount the partition add "user" to the options, in the fstab (I think it's user) If not it's users.

    as for write access, this needs to be setup on the nfs server with rw access, and rw specified in the fstab options
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

  3. #3
    Linux Guru loft306's Avatar
    Join Date
    Oct 2003
    Location
    The DairyLand
    Posts
    1,666
    it is
    Code:
    users
    ~Mike ~~~ Forum Rules
    Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
    http://loft306.org

  4. #4
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,789
    cool, cheers for confirmation loft306.
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •