LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Write to NTFS mount as non-root (https://www.linuxquestions.org/questions/slackware-14/write-to-ntfs-mount-as-non-root-249279/)

electronique 10-30-2004 08:05 PM

Write to NTFS mount as non-root
 
Is there a way that I can mount my windows NTFS partition so that I can write to it as a non-root user? I have write support for NTFS included in my kernel but as a non-root users it always gives me the following error:

You do not have enough permissions to read file:/Windows/C

I have tried using both the konqueror file manager in super-user mode to change the folder permissions, but I can only change one folder at a time (i.e. cannot click apply to all sub-folders and files, it gives error: cannot change permissions for some random folder/file) and cannot change permissions for any individual file. I have also tried a kde root session and I can access and write to the directories no problem but changing the file permissions has no effect, if I reboot the permissions are exactly the same as they were prior to the reboot.

I want to be able to read from the windows NTFS partition at least, to test Wine with several apps; and that is also where all of my music is stored, so I can't use XMMS to listen to any tunes unless I am root, which is kinda crappy. Is there any way I can remedy this?

I am using Slackware-Current and KDE 3.3.1

Thank you in advance for any advice.

eeades 10-30-2004 10:08 PM

Right now, NTFS support is not good enough to reliably write to an NTFS partition. For an update on NTFS support go to:

http://linux-ntfs.sourceforge.net/

As for writing NTFS now, check out Captive NTFS, it works for me:

http://www.jankratochvil.net/project/captive/

Eric

tlowk 11-01-2004 02:24 AM

although I agree that writing on ntfs might be not very safe you can do it.


when you mount the partion you can add these extra parameters:

uid=value, gid=value and umask=value (in the fourth colum)

(man mount show this info)

I suggest you add an extra group (ntfs-wr ) and make the mask
003 this way only the members of that group will be able to
write.

Regards

Tlowk


All times are GMT -5. The time now is 07:05 AM.