Find the answer to your Linux question:
Results 1 to 2 of 2
Hi I have been using ubuntu 8.10 for a month now. The pc I use is a personal pc and I have the auto-login enabled. I need the NTFS drives ...
  1. #1
    Just Joined!
    Join Date
    Mar 2009
    Posts
    1

    Need help with NTFS volumes

    Hi

    I have been using ubuntu 8.10 for a month now. The pc I use is a personal pc and I have the auto-login enabled. I need the NTFS drives on my HDD to mount automatically.

    I am able to mount these drives using the command line option of sudo mount or even by clicking on Places->New Volume. But If I add the following line in the /etc/fstab, the volume does not mount.

    /dev/sda2 /media/NewVolume ntfs-3g defaults 0 0
    Now, If I try to access it with Places->New Volume, I get the following error.
    You are not privileged to mount the volume 'New Volume'.
    I tried changing the options from defaults to user, but still does not work. I also tried changing the permissions for ntfs-3g and it still does not work.

    sudo chown root /bin/ntfs-3g
    sudo chmod 4755 /bin/ntfs-3g
    Any help on this issue would be great.

    Thanks in advance.

  2. #2
    Linux Newbie Ziplock's Avatar
    Join Date
    Jan 2009
    Location
    Adelaide
    Posts
    169
    Hi there,

    Your options in /etc/fstab prohibit the user from mounting the drive. 'defaults' implies 'nouser' which means you can't mount it as a normal user. To change just the user mountable option, you will need the following:

    Code:
    /dev/sda2 /media/NewVolume ntfs-3g rw,suid,dev,exec,auto,user,async 0 0
    The only change from 'defaults' is 'nouser' to 'user'

    You may also like to change 'auto' to 'noauto' so that you don't get errors if you don't have the drive plugged in at boot time.

Posting Permissions

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