Results 1 to 7 of 7

Thread: modifying ntfs files on windows partition

  1. #1

    Default modifying ntfs files on windows partition

    I have just installed Open Suse 11.4 Gnome, and I am trying to work on files on my windows partition that is ntfs, and it keeps telling me that they are "read only"......I check my /etc/fstab file and that it shows permissions at the end of the windows partions to be "0 0", which I was told was what was I needed to be able to work on ntfs files in windows?

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    15,664
    Blog Entries
    3

    Default Re: modifying ntfs files on windows partition

    Make sure that the fstab entry specifies "ntfs-3g" for the filesystem type, and make sure that "ro" is not being set as an option.

    Check whether you can write it as root. If you can, then you might need to set "uid=" and/or "gid=" options to make it writable by non-root users. I'm the only user of this system, so I use the "uid=" option to make me appear to be the owner of files on the ntfs partition.
    openSUSE Leap 15.3; KDE Plasma 5.18.6;

  3. #3

    Default Re: modifying ntfs files on windows partition

    this is the copy of by fstab file, does it look like I should be able to modiy files on the D drive of ntfs Windows?

    /dev/disk/by-id/ata-ST9320325AS_5VD1SVBY-part5 swap swap defaults 0 0
    /dev/disk/by-id/ata-ST9320325AS_5VD1SVBY-part6 / ext4 acl,user_xattr 1 1
    /dev/disk/by-id/ata-ST9320325AS_5VD1SVBY-part7 /home ext4 acl,user_xattr 1 2
    /dev/disk/by-id/ata-ST9320325AS_5VD1SVBY-part1 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
    /dev/disk/by-id/ata-ST9320325AS_5VD1SVBY-part2 /windows/D ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
    /dev/disk/by-id/ata-ST9320325AS_5VD1SVBY-part4 /windows/E ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
    proc /proc proc defaults 0 0
    sysfs /sys sysfs noauto 0 0
    debugfs /sys/kernel/debug debugfs noauto 0 0
    usbfs /proc/bus/usb usbfs noauto 0 0
    devpts /dev/pts devpts mode=0620,gid=5 0
    Last edited by nitewalker41; 10-May-2011 at 21:05. Reason: found out why couldn't edit file

  4. #4
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,857
    Blog Entries
    20

    Default Re: modifying ntfs files on windows partition

    Modify the entry you want to edit files on

    Eg:

    /dev/disk/by-id/ata-ST9320325AS_5VD1SVBY-part1 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0

    to

    /dev/disk/by-id/ata-ST9320325AS_5VD1SVBY-part1 /windows/C ntfs-3g defaults 0 0

    reboot
    does that help
    Tumbleweed_KDE
    My Articles Was I any help? If yes: Click the star below

  5. #5
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    15,664
    Blog Entries
    3

    Default Re: modifying ntfs files on windows partition

    Quote Originally Posted by nitewalker41 View Post
    ..., does it look like I should be able to modiy files on the D drive of ntfs Windows?
    Yes, you should be able to modify, provided that you are in group "users". The command "groups" will list what groups you are in.

    Hmm, my "fstab" entries have "nls=utf8" where yours have "locale=en_US.UTF-8".

    Hmm again - it looks to me as if the fmask should be 113 and the dmask should be 002. Otherwise only the file owner (root) can modify them.
    openSUSE Leap 15.3; KDE Plasma 5.18.6;

  6. #6

    Default Re: modifying ntfs files on windows partition

    made changes that "nrickert" suggested to "fmask to read 113 and dmask to read 002", everything works alright, am able to modify files, rename and delete files on the Windows NTFS partition.....thanks for everyone’s help....problem solved

  7. #7
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,721

    Default Re: modifying ntfs files on windows partition

    Quote Originally Posted by nitewalker41 View Post
    I have just installed Open Suse 11.4 Gnome, and I am trying to work on files on my windows partition that is ntfs, and it keeps telling me that they are "read only"......I check my /etc/fstab file and that it shows permissions at the end of the windows partions to be "0 0", which I was told was what was I needed to be able to work on ntfs files in windows?
    Those 0 0 have NOTHING to do with permissions. Please read
    Code:
    man fstab
    to see what they are for.

    And the solution to use ntfs-3g as fs type and defaults as parameters is posted here a miriad of times. I little search would have revealed that.
    Henk van Velden

Posting Permissions

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