Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Simple mount question

  • 23-04-2007 07:29PM
    #1
    Registered Users, Registered Users 2 Posts: 1,080 ✭✭✭


    Hi all,
    I'm trying to figure out how to set a user as the owner of a dev when it's automounted. Its an ntfs drive fstab entry as follows
    /dev/sda1       /windows/C       ntfs    auto,user,ro,noexec 0   0
    
    However, when ever I try to view it through natilus (Ubuntu) I get a access denied message.
    I can type /windows$ sudo chown -hR karl:users C and it seems to run through the files (but each has the warning readonly file system)

    how can I set me as the owner when mounting, or how can I start a superuser graphical file management?

    Thanks


Comments

  • Registered Users, Registered Users 2 Posts: 1,110 ✭✭✭Skrynesaver


    You can't write to an NTFS partition, so you can't change the ownership.

    You can however install ntfs-3g
    sudo apt-get install ntfs-3g
    
    and change the line in your /etc/fstab to read:
    /dev/sda1       /windows/C ntfs-3g    defaults,locale=en_IE.utf8    0    0
    
    Then
    sudo mount -a
    


Advertisement