Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: NTFS partitions and read write access

  1. #1

    Default NTFS partitions and read write access


    I'm not sure if this question has his place in this section, but ...

    I have created 2 NTFS partitions to have my documents, videos, musics, ... if i'm on Win7 or Opensuse, or ....

    Mounting the NTFS partitions is OK, but the user (me) can only read, not write any thing, not create anything on it.
    I can't change the permissions on these : root:users.
    Have used the command line chown -R me:me /Documents and the same for /Sauvegarde

    NTFS-3G is installed.
    In mtab, the access is defined by RW and allows_other. That's correct. But why give me the system not the access to write ?

    Perhaps is one thing not clear for me ?

    I had think if the files or directories are on a NTFS partition, the permissions in Dolphin (or with ls -al) are always root:root

    If you have an idea that give me the possibility to create and modify files and directories, that will be fine

    Thanks in advance


  2. #2
    Join Date
    Sep 2008

    Default Re: NTFS partitions and read write access

    I believe the current kernel has full read/write ntfs capabilities (I have created/deleted files on a win7 partition)
    if you are on 7 make sure hibernation is off and windows is properly shut down.
    external partitions always need root access, how are you mounting them with dolphin or the mount command, try and open partitions with dolphin and after you give the root password you will be able to create files there.

    edit as ntfs is not a native Linux file system the permissions will always be set for root, the only way around it is to use ext2/3/4 xfs or btrfs

  3. #3

    Default Re: NTFS partitions and read write access

    If we must give the root password at each time i access the NTFS partition, it's not very usefull but ....

    On another distro, no root password must be given for this.

    Very thanks


  4. #4
    Join Date
    Sep 2008

    Default Re: NTFS partitions and read write access

    there are ways around it, this is the one I use
    create the file 10-udisks2.rules
    kdesu kate /etc/polkit-1/rules.d/10-udisks2.rules
    paste this text into it
    // See the polkit(8) man page for more information
    // about configuring polkit.
    // Allow udisks2 to mount devices without authentication
    // for users in the "storage" group.
    polkit.addRule(function(action, subject) {
        if (( == "org.freedesktop.udisks2.filesystem-mount-system" ||
    == "org.freedesktop.udisks2.filesystem-mount") &&
        subject.isInGroup("storage")) {
            return polkit.Result.YES;
    save it
    with yast create storage user group and add your self to it

  5. #5
    Join Date
    Sep 2008

    Default Re: NTFS partitions and read write access

    I really don't know what is that other distro that alows ordinary users root access, but the above works, and by creating a new user group storage not everyone can get root access to ntfs partitions

  6. #6
    Join Date
    Nov 2009
    West Virginia Sector 13

    Default Re: NTFS partitions and read write access

    Note that if a NTFS system is corrupt or not been shutdown properly it should not be writable.

    Also you can add user to the the mount in fstab to allow user writing. .

  7. #7

    Default Re: NTFS partitions and read write access

    Noted your advices and will apply your recommandations.

    The distro that allows this : PCLINUXOS

    I had ask them about the permissions on a NTFS partition and the answer was :
    Windows has it's own permissions rules and Linux another. That's why a Linux distro see always the files/directories on NTS as root:root.
    What allows to read/write on NTFS partition is the rule in mtab with RW and ALLOWS_OTHER : i have verify this and it works.
    No necessity to create a new user group.
    No necessity to create new rule.

    On Opensuse, mtab give the same info as below :
    /dev/sda8 /Documents fuseblk rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0
    /dev/sda9 /Sauvegarde fuseblk rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0
    /dev/sdb6 /home xfs rw,relatime,attr2,inode64,noquota 0 0
    gvfsd-fuse /run/user/500/gvfs fuse.gvfsd-fuse rw,nosuid,nodev,relatime,user_id=500,group_id=17 0 0

    The only line that is NOT in PCLinuxOS's mtab is : gvfsd ......

    If you have comments, you are welcome.

    Thanks again for your help


  8. #8
    Join Date
    Jun 2008
    San Diego, Ca, USA
    Blog Entries

    Default Re: NTFS partitions and read write access

    Another possible option I setup long ago was to simply access the NTFS partitions from a Windows machine and apply everybody/everybody full control permissions, essentially eliminating all Windows read/write/modify permissions.

    After that, anything could read or write to the partition.
    Of course, you should be careful exposing that kind of access outside of a very restricted scenario.


  9. #9

    Default Re: NTFS partitions and read write access

    For Busy_pinguin

    Have apply your recommendations :
    created 10-udisks2.rules and have copy/paste your command lines
    have created a new user group storage and have added me to them.

    But anything seems wrong : i can't create or modify any file or directory after this. Only open/close/view.
    Perhaps is a reboot needed ?

    For TSU2 : i will use your option if after reboot i have no change.
    I don't like (as you) to give all permissions to the world !


  10. #10

    Default Re: NTFS partitions and read write access


    Sorry, but no success after reboot.
    Nothing has changed


Page 1 of 2 12 LastLast

Posting Permissions

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