You are not logged in.
Pages: 1
For christmas I got an 1TB extternal HDD. I works fine on a Windows machine, but I have Arch Linux on my computer and I get permission issues with the external HDD. How do I get perimission to use my own external HDD?
I have tried right click and changing permissions as root but I does not work. I see whats in the external HDD when I am root, but can't even create a folder!
Last edited by gjoellee (2009-01-05 14:17:57)
Entertain yourself in a stupid way: www.stupidreality.org
Offline
What filesystem is the drive formatted as ?
If it's ntfs, do you have ntfs-3g ?
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
Define it in /etc/fstab, and add the 'user' option.
Offline
OK, I have added it to /etc/fstab and added the user option, this is how the line looks like:
/dev/sde1 /media/hdd ntfs-3g user,defaults,locale=en_NO.utf8 0 0
here is the whole:
# cat /etc/fstab
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/sde1 /media/hdd ntfs-3g user,defaults,locale=en_NO.utf8 0 0
/dev/cdrom /media/cdrom auto ro,user,noauto,unhide 0 0
/dev/cdrom1 /media/cdrom1 auto ro,user,noauto,unhide 0 0
/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
/dev/dvd1 /media/dvd1 auto ro,user,noauto,unhide 0 0
UUID=10512ef5-9c47-46a7-9602-f9137ea11d82 swap swap defaults 0 0
UUID=9656f93a-365f-4dee-a00e-301fa58001c6 / ext3 defaults 0 1
UUID=af63f66e-d508-49e8-8bdf-9d1160a6b24b /home ext3 defaults 0 1
it mounts fine on root (I have not checked user yet) but it is still Read Only
NOTE: I have not tested it on a normal user yet after I added the "user" option in the line:
Entertain yourself in a stupid way: www.stupidreality.org
Offline
If you are using NTFS, see this wiki page.
NTFS behaves differently.
Offline
I think it has to be "users", not "user"...
Anyways, you could try something like this for options: "users,uid=1000,gid=100,fmask=0113,dmask=0002,locale=pl_PL.utf8"; change the locale to what it is that you're using, of course. This should mount the drive with [your user]:users ownership and reasonable permissions.
This is taken from the wiki: http://wiki.archlinux.org/index.php/NTF … ng_fstab_2
Offline
I think it has to be "users", not "user"...
..For ntfs-3g, I think you're right.
Offline
It works great when I am root user now, and that is good enough for me. Threat solved
Entertain yourself in a stupid way: www.stupidreality.org
Offline
IMO just to access an external hard drive as root is not a good idea. I will use the root previlage only to do any maintenance work that too not frequent. I have similar problem to access external HD with ntfs partition in lxde with pcmanfm. I got it solved by remounting with rw access.
sudo mount -t ntfs-3g /dev/sdb1 /media/<mount_point> -o rw,users,auto
Last edited by kgas (2009-01-05 14:30:01)
Offline
IMO just to access an external hard drive as root is not a good idea. I will use the root previlage only to do any maintenance work that too not frequent. I have similar problem to access external HD with ntfs partition in lxde with pcmanfm. I got it solved by remounting with rw access.
sudo mount -t ntfs-3g /dev/sdb1 /media/<mount_point> -o rw,users,auto
Thanks a lot..! Now this thread is totally solved! I made this tutorial if someone wonder what I did: http://kshoster.net/content/howto-mount … ile-system
Last edited by gjoellee (2009-01-05 18:14:18)
Entertain yourself in a stupid way: www.stupidreality.org
Offline
Hello gjoellee, if you have installed hal then setting the policy will also help. Have a look at this thread
http://bbs.archlinux.org/viewtopic.php? … 08#p476208.
Offline
Pages: 1