Results 1 to 7 of 7

Thread: mount by user

  1. #1
    Join Date
    Nov 2010
    Location
    Damanhour-North-Egypt
    Posts
    90

    Default mount by user

    hello every one,,

    i want to mount NTFS by normal users so i used the following entry in fstab

    /dev/sda6 /media/Mostafa ntfs-3g noauto,exec,rw,user 0 0

    however when i try to mount the partition i get the following error

    Unable to mount Mostafa

    Error mounting: mount exited with exit code 1: helper failed with:
    Error opening '/dev/sda6': Permission denied
    Failed to mount '/dev/sda6': Permission denied
    Please check '/dev/sda6' and the ntfs-3g binary permissions,
    and the mounting user ID. More explanation is provided at
    NTFS-3G Questions at Tuxera
    according to NTFS-3G Questions at Tuxera

    the mount utility have a problem of doesn’t invoking the ntfs-3g binary with the needed privilege after it has checked and approved the user is entitled to mount a given device on a specified mount point, hereby the user can’t open the device he got the approval in /etc/fstab.

    i've the following option in the mount point :

    drwxr-xrwx 2 root root 4096 May 21 00:17 Mostafa

  2. #2

    Default Re: mount by user

    Quote Originally Posted by mostafaxxx View Post
    i want to mount NTFS by normal users so i used the following entry in fstab

    Code:
    /dev/sda6 /media/Mostafa ntfs-3g noauto,exec,rw,user 0 0
    Try users instead of user in /etc/fstab.

  3. #3
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: mount by user

    On 2011-05-21 00:36, please try again wrote:

    > Try *users* instead of *user* in /etc/fstab.


    Nope, it is "user". Users is to allow others to umount what someone else
    mounted. That's different.

    I think the error message refers to the permissions of /dev/sda6.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  4. #4
    Join Date
    Nov 2010
    Location
    Damanhour-North-Egypt
    Posts
    90

    Default Re: mount by user

    nop the same thing

    what is the different between binary permissions and normal permission??

  5. #5

    Default Re: mount by user

    Try that as user in a terminal (cannot check, as I don't use ntfs):

    Code:
    mount -t ntfs-3g /dev/sda6 /media/Mostafa
    If it doesn't work, try that:

    Code:
    PATH=/sbin:$PATH
    mount -t ntfs-3g /dev/sda6 /media/Mostafa
    If it still doesn't work, try that:
    Code:
    su -c 'chmod 0777 /media/Mostafa
    mount -t ntfs-3g /dev/sda6 /media/Mostafa

  6. #6
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: mount by user

    On 2011-05-21 01:06, mostafaxxx wrote:
    >
    > nop the same thing
    >
    > what is the different between binary permissions and normal
    > permission??



    It says “and the ntfs-3g binary permissions”, ie, the permissions of the
    ntfs-3g program, ie, the binary.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  7. #7
    Join Date
    Nov 2010
    Location
    Damanhour-North-Egypt
    Posts
    90

    Default Re: mount by user

    Quote Originally Posted by please_try_again View Post
    Try that as user in a terminal (cannot check, as I don't use ntfs):

    Code:
    mount -t ntfs-3g /dev/sda6 /media/Mostafa
    If it doesn't work, try that:

    Code:
    PATH=/sbin:$PATH
    mount -t ntfs-3g /dev/sda6 /media/Mostafa
    If it still doesn't work, try that:
    Code:
    su -c 'chmod 0777 /media/Mostafa
    mount -t ntfs-3g /dev/sda6 /media/Mostafa
    always :
    mount: only root can do that

Posting Permissions

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