Apparently the answer is here: https://superuser.com/questions/251537/mount-specific-ntfs-directory-on-linux however it is not working as expected.
I have a dual boot system with Windows 7 and Ubuntu 13.04 (upgraded from 12.10), and I want to access my Windows 7 personal folders for both reading and writing. I followed instructions according to the given link and my /etc/fstab
file looks like this:
/dev/sda1 /media/windows ntfs ro,umask=0222,defaults 0 0
/media/windows/Users/MyUser/ /home/myuser/Windows ntfs-3g rbind,user,umask=0222,defaults 0 0
/media/windows/Users/OtherUser/ /home/otheruser/Windows ntfs-3g rbind,user,umask=0222,defaults 0 0
It almost works as expected. My Windows partition is on /media/windows/
with read-only permissions and my Windows personal folder is in ~/Windows
. However this personal folder is also read-only.
Note I'm configuring this in a multisession environment, so I need this to work for my session and for other user's sessions. I need that each user can access and be able to write and read their Windows folders from Linux.
/root/
(which is working). My current solution uses the hints provided by falconer, ajThapa, totti and yilmi, none of them is working as expected in the original question (protections are not enough), but it is working (users have rw access to their data). All these mentioned answers were upvoted.