I have in my /etc/fstab file this line in order to mount my Windows ntfs partition:
/dev/sdb1 /media/sdb1 ntfs rw,noauto,users,permissions 0 2
I've changed the owner using chown
and set the permissions to 777
using chmod
.
If I make an ls -lt
it shows the owner and the permissions properly changed.
However I still don't have permissions for writing there, if I execute mkdir test
it says:
mkdir: cannot create directory `test': Permission denied
Any suggestions?
UPDATE
I found the solution, these are the steps I followed:
Type
sudo blkid
Get the UUID related to your ntfs partition.
Change the
/etc/fstab
file adding this line:UUID="your UUID" /media/"any name" ntfs users,defaults 0 0
You can specify owner of the partition using
uid
andgid
options:Note that
uid
andgid
values are numeric. If you are not the only user of the box you can discover those values byid
command.