Find the answer to your Linux question:
Results 1 to 8 of 8
Hi, I have mounted two NTFS partitions and set them to auto-mount on boot however for some reason I am getting permission denied errors when attempting to write to them. ...
  1. #1
    RAH
    RAH is offline
    Just Joined!
    Join Date
    Jun 2008
    Posts
    31

    Question Mounting Problem

    Hi,

    I have mounted two NTFS partitions and set them to auto-mount on boot however for some reason I am getting permission denied errors when attempting to write to them. How do I go about resolving this?

    Thanks.

  2. #2
    Linux Newbie
    Join Date
    Nov 2007
    Location
    Planet Earth
    Posts
    152
    Put your fstab config file here or commands you are using, if you expect more useful help ...
    EOF

  3. #3
    Linux Engineer khafa's Avatar
    Join Date
    Apr 2008
    Location
    Tokyo, Japan
    Posts
    858
    Quote Originally Posted by hugortega View Post
    Put your fstab config file here or commands you are using, if you expect more useful help ...
    and which Linux you are running. some ship with NTFS write as default while some need ntfs-3g
    Linux and me it's a love story

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Selinux restrictive mode doesn't allow partitions mounting at boot up. Which distro are you running? Post the output of mount -a command here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    RAH
    RAH is offline
    Just Joined!
    Join Date
    Jun 2008
    Posts
    31
    /dev/sda1 /mnt/vista -t ntfs -r -o uid=root

    This has given me the ability to write to the partition however now I can't list any files/folders in it. What should I be doing?

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Entry in /etc/fstab should be :
    Code:
    /dev/sda1  /mnt/vista  ntfs  defaults,umask=0  0  0
    If you are mounting partition manually then execute this
    Code:
    mount -t ntfs /dev/sda1 /mnt/vista  -o defaults,umask=0
    You will have read access only. You have to install ntfs-3g package for NTFS write access.
    You havn't mentioned distro name. As we asked earlier, which distro are you using?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #7
    RAH
    RAH is offline
    Just Joined!
    Join Date
    Jun 2008
    Posts
    31
    I'm using Arch.

  8. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    You have to install ntfs-3g first.
    Code:
    pacman -Sy ntfs-3g
    Replace ntfs with ntfs-3g in /etc/fstab file and you will have write access in Vista partition.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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