[SOLVED] Windows XP NTFS files and folders edit permissions
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Windows XP NTFS files and folders edit permissions
When the windows XP partition is mounted during most of my Linux boot up, it is by root. So if I want to edit or create a text file in my ntfs XP, from a Linux, the XP mount folder must have the full read, write, execute permissions, right ? If it is not that, then access is denied error comes up when attempting to save a file. Do I do this in a terminal as root, with the chmod command either for the whole windows folder which is the mount point, or for each separate file I wish to edit, right ?
I thought this article was interesting: http://bisqwit.iki.fi/story/howto/ntfs/
From last year so things may have changed. But I would do some more research before trying to write to NTFS. And always make a backup.
I do have the ntfs-3g driver and support files installed in all 5 of my Linux. When I did try to edit a windows XP text file from PCLinux 08 it did work, since the permissions are set to all 3, r,w,x, (read write, execute) for the mount point folder. But in the Open SUSE 11 it has some other user group security settings to change with the Yast Configuration tool. I did find out that I needed to add the "disk group" to my user to have mount access rights in SUSE. And so now it said online at; http://www.ntfs-3g.org/ , to make the ntfs-3g binary set to this here; setuid-root, and then gave the chown and chmod commands in a way that I did not really understand fully. So in a terminal as root how do I set that ntfs-3g to setuid-root in order to have my unprivileged user be able to mount and unmout my windows XP partition, and hopefully edit files ?
Edit XP files and save changes from Open SUSE does now work. I did edit my /etc/fstab file for the windows XP partition mount permissions. And thanks for the help. And after adding the NTFS configuration tool into my Fedora 9, it also allowed this XP file edit to succed. Next I will test my Ubuntu 8.04 for this full ntfs-3g write support, then Slackware too. Is there a terminal command to check if the ntfs-3g is setuid-root ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.