I have been trying hard to get write permissions for my ntfs drives. I have used following commands with root permissions but got the same message every time. “Permission denied”
linux-3r2b:/etc # /dev/sda1 /home/vipin/Cdrive ntfs-3g user,users,gid=users,umask=0002 0 0
-bash: /dev/sda1: Permission denied
I have modified fstab file and put the new values as:
But im still not able to mount my drives as i want (write permissions). Also guide me regarding how ntfs configration tool is used. Any help would be appreciated…
That’s the syntax when you put a line in the stored text file fstab to automatically mount the drive at boot time.
The syntax for mounting temporarily from the command line is a bit different, like this:
mount -t ntfs-3g /dev/sda1 /path_to/mount_point
That one is writeable’
More discussion is here: HowTo Mount NTFS Filesystem Partition Read Write Access in openSUSE 10, 11
I think you’re looking for a line for fstab too that works. Try this one:
/dev/sda1 /path_to/mount_point ntfs-3g defaults 0 0
The will make it writeable.
after writing mounting commands in a script and copying that script to /etc/init.d/, I got my ntfs drives automatically mounted at system startup.
That’s an unusual approach. Well thought out.