You are not logged in.

#1 2009-12-08 00:22:17

ShatteredVision
Member
Registered: 2009-11-26
Posts: 11

[Solved] trouble writing to usb devices

I'm having a problem writing to usb devices on my eeepc. I have arch installed on my desktop with gnome and have no problems with this. On my eeepc I use xfce4 and sometimes fluxbox. I can mount usb devices without any trouble but the permissions on the usb devices are read only unless I'm root. I set myself to the storage group but still can't figure it out. I can mount individual devices as root and manually set their permission so anyone can read/write but it only works on each individual device. Is there a way I can give myself permission to write on any removable media I attach?

Last edited by ShatteredVision (2009-12-08 08:13:42)

Offline

#2 2009-12-08 00:53:13

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [Solved] trouble writing to usb devices

If you use the .xinitrc file make sure you have your window managers/DE setup like:

exec ck-launch-session xfce4-session

and

exec ck-launch-session startfluxbox

Last edited by anonymous_user (2009-12-08 00:53:38)

Offline

#3 2009-12-08 00:58:09

ShatteredVision
Member
Registered: 2009-11-26
Posts: 11

Re: [Solved] trouble writing to usb devices

anonymous_user wrote:

If you use the .xinitrc file make sure you have your window managers/DE setup like:

exec ck-launch-session xfce4-session

and

exec ck-launch-session startfluxbox

This is how I have them set up. It lets me mount the usb devices just not write to them. I have a sd card I leave in my eeepc as like a second harddisk to keep all my documents. This way I dont write too much to the ssd. For whatever reason I can look in the folders I just can't add anything new to them unless I'm root. I'm just not very familiar with how arch is set up to manage permissions. Is there a config file I could edit?

thanks for the speedy reply.

Offline

#4 2009-12-08 01:08:15

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [Solved] trouble writing to usb devices

Try these instructions:

http://bbs.archlinux.org/viewtopic.php? … 46#p653946

And the next time you mount a usb device check if you have write permissions.

Otherwise I would read more about HAL on the wiki:

http://wiki.archlinux.org/index.php/HAL

Offline

#5 2009-12-08 01:54:30

ShatteredVision
Member
Registered: 2009-11-26
Posts: 11

Re: [Solved] trouble writing to usb devices

Thanks this helped a lot. Strange thing happened. I tried some other usb keys and sd cards and they all mount with me as the owner. Only the one card I was using is mounting with the owner as root. Seems weird only this one card does that. Any idea how I can change this cards ownership? or any idea why only this card does it?

Thanks again. You have been really helpful. I was told Arch had a great community. I'm glad to now be a part of it.

Offline

#6 2009-12-08 02:02:17

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [Solved] trouble writing to usb devices

Mount the USB device and run this as root:

chown -R username:username /media/yourusbdevice

Just replace "username" and "yourusbdevice" with the correct values.

Last edited by anonymous_user (2009-12-08 02:03:24)

Offline

#7 2009-12-08 02:05:36

ShatteredVision
Member
Registered: 2009-11-26
Posts: 11

Re: [Solved] trouble writing to usb devices

Problem solved. Thanks again for the help. Not sure how to mark this topic as solved though. New to the forum also.

Offline

#8 2009-12-08 02:11:48

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [Solved] trouble writing to usb devices

You just need to edit your first post and add [Solved] to the thread title.

Offline

Board footer

Powered by FluxBB