You are not logged in.

#1 2006-11-05 22:37:22

efossvold
Member
From: Kamloops, Canada
Registered: 2006-07-23
Posts: 59

Don't have permissions to access usb hardrive

When I plug in my external hardrive under KDE and try to create a folder on the hardrive I get permission denied. What do I have to do to be able to write to the hardrive. I still wana be able to hotplug it, don't wana add an entry in fstab.

Offline

#2 2006-11-05 23:02:01

elasticdog
Member
From: Washington, USA
Registered: 2005-05-02
Posts: 995
Website

Re: Don't have permissions to access usb hardrive

IIRC, you have to add yourself to the <code>disk</code> group:

# gpasswd -a username disk

Offline

#3 2006-11-05 23:44:31

efossvold
Member
From: Kamloops, Canada
Registered: 2006-07-23
Posts: 59

Re: Don't have permissions to access usb hardrive

Thanks man, that did it!

Offline

#4 2006-11-05 23:45:42

jebb
Member
Registered: 2006-02-24
Posts: 11

Re: Don't have permissions to access usb hardrive

Isn't it rather the storage goup?

Offline

#5 2006-11-06 01:00:33

efossvold
Member
From: Kamloops, Canada
Registered: 2006-07-23
Posts: 59

Re: Don't have permissions to access usb hardrive

Nope, I was already a member of the storage group. It worked when I added myself to the disk group. I think the storage group is for hotplugging devices (usb-stick and so on).

Offline

#6 2006-11-06 01:59:16

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Don't have permissions to access usb hardrive

Regular users shouldn't be in the disk group. It's a security risk.

I don't know how to solve your permission issue. Maybe a custom udev rules will fix it.

Offline

Board footer

Powered by FluxBB