Results 1 to 2 of 2

Thread: Allowing an ordinary user to mount / unmount ntfs partition

  1. #1
    Join Date
    Jun 2010
    Beans
    1

    Question Allowing an ordinary user to mount / unmount ntfs partition

    Hi,

    Is there a way to allow ordinary users to mount / unmount an ntfs partition?

    I don't want it to be mounted automatically - I can do that. I want it to be mount / unmountable by ordinary users (possibly in a particular group).

    I'm using Ubuntu 10.04.

    Thanks.

  2. #2
    Join Date
    Jan 2007
    Beans
    3,202

    Re: Allowing an ordinary user to mount / unmount ntfs partition

    From
    Code:
    man mount

    The non-superuser mounts.
    Normally, only the superuser can mount filesystems. However, when fstab
    contains the user option on a line, anybody can mount the corresponding sys‐
    tem.

    Thus, given a line

    /dev/cdrom /cd iso9660 ro,user,noauto,unhide

    any user can mount the iso9660 filesystem found on his CDROM using the com‐
    mand

    mount /dev/cdrom

    or

    mount /cd

    For more details, see fstab(5). Only the user that mounted a filesystem can
    unmount it again. If any user should be able to unmount, then use users
    instead of user in the fstab line. The owner option is similar to the user
    option, with the restriction that the user must be the owner of the special
    file. This may be useful e.g. for /dev/fd if a login script makes the con‐
    sole user owner of this device. The group option is similar, with the
    restriction that the user must be member of the group of the special file.
    Intel Core i7-950 / Asus P6X58D-E / Nvidia GTX480 / siduction 64-bit on OCZ Revodrive SSD / KDE4.10.2/ Kubuntu 13.04

Tags for this Thread

Bookmarks

Posting Permissions

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