View previous topic :: View next topic |
Author |
Message |
rurouni_hou_ou n00b
Joined: 15 Aug 2014 Posts: 24 Location: England, Lancashire
|
Posted: Sun Mar 01, 2015 3:16 pm Post subject: Mounting external drives for read/write |
|
|
I am able to mount my external HDD in read only mode, but at the moment I can't seem to mount it in read/write mode for my user.
So far, my /etc/fstab entry looks like:
Code: | /dev/sdb1 /media/connor/usbdrive auto user,auto,async,exec 0 0 |
I have tried making /media/connor owned by that user using chmod connor:connor /media/connor. But still this fails. Also, the service localmount reports 'filesystem 'auto' not found'. I also changed the filesystem to fat32 in my fstab. But still reported 'filesystem 'fat32' not found'. |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Sun Mar 01, 2015 4:42 pm Post subject: |
|
|
You probably want 'users' not 'user'; and istr 'vfat'.
First one means any user in 'disk' group can unmount, unless you have some kludge in-between. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54308 Location: 56N 3W
|
Posted: Sun Mar 01, 2015 4:57 pm Post subject: |
|
|
rurouni_hou_ou,
Don't use auto for the filesystem type if you value your data. Its OK on read only media,
Auto tells mount to guess the filesystem. Most times it gets it right but your data is toast when it doesn't.
As a read only mount works I suspect that the filesystem is ntfs and you are using the kernel ntfs driver.
Despite the kernel option for ntfs write support, its mostly not there.
Use FUSE and ntfs-3g instead. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|