[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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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 ?