LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (http://www.linuxquestions.org/questions/mandriva-30/)
-   -   USB (hotplug) permissions problem (http://www.linuxquestions.org/questions/mandriva-30/usb-hotplug-permissions-problem-316093/)

chrisjasp 04-22-2005 01:18 PM

USB (hotplug) permissions problem
 
I have recently upgraded from RH 9 to mandrake 10.1

I have a Dell DJ mp3 player that i use Gnomad2 to access. On RH 9 it worked no problem.

Since going to mandrake it works but only as root and i would like to be able to access my DJ not having to be root like i did before. I believe this is a permissions problem not allowing my regular user to access the usb device. I'm not sure how to go about fixing this. Any help would be great.

C

Simon Bridge 04-23-2005 11:27 PM

Well - you knew in RH9 all you had to do was right-click the launcher icon and select properties to change the permissions. Do the equivalent ... at the very least you should be able to use ls -l to check the permissions and chmod to change the errant ones.

Another trick is to point a launcher at a symbolic link which points to the app. The link allows users to execute it and the link executes the app (and only that app).

chrisjasp 04-25-2005 11:13 AM

Obviously your miss understanding my question. The application launches fine with my regular user. The app fails to access my jukebox as a regular user. It says un able to access any jukeboxes. As root it is able to access fine.

Simon Bridge 04-26-2005 03:48 AM

Quote:

Originally posted by chrisjasp
Obviously your miss understanding my question.
That's likely :)
Quote:

The application launches fine with my regular user. The app fails to access my jukebox as a regular user. It says un able to access any jukeboxes. As root it is able to access fine.
Which is fair enough - because you originally said:
Quote:

I have a Dell DJ mp3 player that i use Gnomad2 to access. On RH 9 it worked no problem.
Since going to mandrake it works but only as root and i would like to be able to access my DJ not having to be root like i did before. I believe this is a permissions problem not allowing my regular user to access the usb device. I'm not sure how to go about fixing this. Any help would be great.
So you can see the confusion.

Do you mean that Gnumeric opens fine but it won't access the dell dj as user, only root?

While I'm waiting for that, I'll give you something to go on with:

In general, you are going to have to find out how the jukebox is being accessed by the app. (How does the app know it's there - did you have to stick a /dev/sda0 or something into a dialog box or what?) This will give you a clue as to what needs changing. You can then do ls -l to find out the permissions and a chmod or whatever to change them. If it is a mountpoint access permission you may find yourself editing fstab or inserting a symbolic link.


All times are GMT -5. The time now is 10:17 AM.