LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-04-2007, 01:35 PM   #1
lindylex
Member
 
Registered: Mar 2007
Posts: 192

Rep: Reputation: 17
usb device root permissions write access


Is there a way to change the permissions of my usb devices in Linux? Currently all my usb device(s) I cannot write to, only the root user. I want to write to my digital camera’s drive connected to my computer.

I can not use /etc/fstab because the devices are loaded dynamically.

Thanks for your help.

Lex
 
Old 06-04-2007, 09:54 PM   #2
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Rep: Reputation: 108Reputation: 108
Hya,

How do you mount your usb device? pmount? Do you use udev?

Happy Penguins!
 
Old 06-04-2007, 10:12 PM   #3
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Rep: Reputation: 32
similar problem here.....i use udev...
 
Old 06-05-2007, 06:37 AM   #4
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Rep: Reputation: 108Reputation: 108
Hya,

How do you mount? If device is mounted by root using pmount (or mount), non-root may not have access to it. Use pmount as non-root.

Happy Penguins!
 
Old 06-05-2007, 09:51 AM   #5
lindylex
Member
 
Registered: Mar 2007
Posts: 192

Original Poster
Rep: Reputation: 17
Debian linux will load the devices dynamically. There is a solution that enables the permissions so anyone can write and read to the external devices that have dynamic mount points. I ran into this problem on Fedora Core.

I will look into udev and pmount a little more. Utanja can you tell me more about udev? And how you resolved this problem?

Kaz2100 can you tell me how you used pmount to solve this problem?

Lex
 
Old 06-05-2007, 11:57 AM   #6
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
You have to edit some rules under /etc/udev , then do a "/etc/init.d/udev restart"
http://www.reactivated.net/writing_udev_rules.html
 
Old 06-06-2007, 08:40 AM   #7
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by lindylex
Kaz2100 can you tell me how you used pmount to solve this problem?
As non-root user,
Code:
pmount /dev/*** Name
I use Debian Etch, and it works without editing udev files. XFce also handles similar way.

Happy Penguins!
 
Old 06-06-2007, 10:41 AM   #8
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Rep: Reputation: 32
Quote:
Originally Posted by makuyl
You have to edit some rules under /etc/udev , then do a "/etc/init.d/udev restart"
http://www.reactivated.net/writing_udev_rules.html
i use the pmount....but I will look into the above link.....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Captive NTFS driver - non root write permissions edmundo_ba Linux - General 1 02-06-2006 06:44 PM
Non-root write access to a USB drive (ext2) ?? jmborr Linux - Hardware 4 10-17-2005 02:38 PM
smbmount write permissions - root zzyzx Linux - Networking 9 02-09-2005 10:25 PM
Read and write USB device with non-root access halfzware_shag Linux - Hardware 3 10-11-2004 04:26 AM
write access on usb storage device wincen Linux - Hardware 3 01-20-2004 08:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration