Problem accessing the contents of windows
At last, i have successfully can access the ntfs partition. But other problem occur. After i have mount:
mount /dev/hdc1 /mnt/windows -t ntfs -r the windows folder appear stating that i don't have the permissions necessary to view the contents of "windows". Why? |
try mount -t ntfs -o ro,umask=222 /dev/hdc1 /mnt/windows
|
Oh ok. Works fine now. May i know what does this command means:
-t ntfs -o ro,umask=222 |
-t ntfs ==> fs type ntfs (I'm sure you figured that out)
-o ro,umask=222 ==> ro is read only and umask=222 means give every file permissions of 555 (read and execute) |
Sorry, I had the same problem as jojojo, and I solved it the same way.
1) BUT, my intention is to have also permission to write, so I wrote the "-w" option. How does the "umask" syntax change? 2) Currently, I have to give the mounting command line explicitely at every startup. How can I set it to perform automatically? Thanks |
First of all you must download the ntfs kernel module that is same as your kernel. You may download the ntfs kernel here http://www.linux-ntfs.org/content/view/187/After that, to mount ntfs partition automatically during boot:
1) log in as root 2) Type: Code:
gedit /etc/fstab Code:
/dev/hda1 /mnt/windows ntfs ro,umask=0222,user,gid=users 0 0 Code:
/dev/hdc1 /mnt/windows1 ntfs ro,umask=0222,user,gid=users 0 0 Code:
mount -at ntfs |
Thanx, I'm trying that.
Just one thing: you keep on suugesting the -ro option, while my intention would be to have writing permission on my NTFS partitions. Is it because (as I have heard) these modules only allow you to read, or anything else? |
All times are GMT -5. The time now is 07:31 AM. |