2009/2/19 ama <[email protected]>:
> manual mount command on the startup script. Since the mounted directory
> was read-only, I also added a chmod to enable write on it.
> Harish, one more thing, have you tried fsck.ntfs? If yes, do it have a
> switch to fix a corrupted NTFS partition table?

We discussed this issue sometime back.

http://groups.google.com/group/ilug-tvm/browse_thread/thread/e51d74281f603e00/3f90b2f97c74aadc

You can add the user to group of the device.

ls -l /dev/sda9

will list the owner and group of the device

add the user to the group

sudo usermod -aG disk sebin

(there device was in disk group and sebin was the user - change accordingly)

/dev/sda1  /windows  ntfs-3g defaults,users,uid=sebin       0       0

(uid=sebin makes sebin the owner of the mount point and hence write
access, since he is also in disk group and disk group has write access
to the device)

you don't have to do 777 (hey never use that - the idea is to give
least privileges).


I agree it is a bit complex, you need to understand the concept of
users, groups and file ownership and permissions to understand the
nuances. It is because ntfs support is very recent and linux is still
not confidant about handling ntfs - as evident from your experience.
It is a minefield of Microsoft patents also. So linux wants to make
sure you know exactly what you are doing and make you go though hoops
before you use ntfs, till it gains confidence.

see http://www.j4v4m4n.in/2009/02/21/using-ntfs-partitions-from-gnulinux/
for a stp by step procedure.

-- 
പ്രവീണ്‍ അരിമ്പ്രത്തൊടിയില്‍
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)
Join The DRM Elimination Crew Now!
http://fci.wikia.com/wiki/Anti-DRM-Campaign

--~--~---------~--~----~------------~-------~--~----~
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

For details visit the website: www.ilug-tvm.org or the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to