[SOLVED] How do I make my removable drive writable?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I recently got an external removable drive. It has an NTFS file system (I use it for backups on windows machines). I can write to an internal HDD drive with a NTFS file system but I only have read access on this removable drive as normal user and as root...
How can I fix this so that root has write access as well please?
Normally /etc/fstab doesn't contain removable media. Please post the output of
Code:
mount
with the drive mounted.
Sure, here it is:
Code:
root@darkstar:~# mount
/dev/root on / type ext4 (rw,commit=0)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
/dev/sda6 on /home type ext4 (rw,commit=0)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda3 on /win7 type fuseblk (rw,allow_other,blksize=4096,default_permissions)
gvfs-fuse-daemon on /home/george/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=george)
/dev/sdb1 on /media/E2F83E19F83DED03 type ntfs (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,dmask=0077,fmask=0177)
root@darkstar:~#
The problem is that your external drive is mounted with the ntfs-driver, which by default doesn't support write access. Mount it with the ntfs-3g-driver and you should be fine.
The problem is that your external drive is mounted with the ntfs-driver, which by default doesn't support write access. Mount it with the ntfs-3g-driver and you should be fine.
Thanks TobiSGD, this worked:
Code:
root@darkstar:~# umount /dev/sdb1
root@darkstar:~# mkdir /media/external
root@darkstar:~# mount -t ntfs-3g /dev/sdb1 /media/external
root@darkstar:~# cd /media/external/
root@darkstar:/media/external# ls
$RECYCLE.BIN/ TOSHIBA/ autorun.inf*
System\ Volume\ Information/ Windows_Backups/ start.cmd*
root@darkstar:/media/external# mkdir Linux_Backups
root@darkstar:/media/external#
Is there a way to make it only mount this drive with these parameters when I plug it in even after a usb stick is already plugged in?
Last edited by george-lappies; 07-04-2011 at 05:06 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.