LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-24-2011, 02:10 PM   #1
mich04
LQ Newbie
 
Registered: Oct 2010
Posts: 22

Rep: Reputation: 0
libusb file permissions


Hi there,
I was trying to run shotwell, went to import my pictures off my camera would not do it. I have come to the conclusion that my user does not have the right file permission for libusb, becuase root can run the program just fine. I am running archlinux, openbox 3.5. Now I recall in suse that their was some usb group. Can someone give directions as far as the best way to acomplish this? Would I use chmod and if so what would be the command? I also need to know where libusb is located. I am still building up my system and do not have a search program for my filesystem yet.

Last edited by mich04; 10-24-2011 at 02:13 PM.
 
Old 10-24-2011, 03:51 PM   #2
fatmac
Senior Member
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Posts: 4,018

Rep: Reputation: Disabled
If you have a usb group add the user to it.

As for searching, I think you will have 'find' installed.

Try find / -name libusb & see what happens.
 
Old 10-24-2011, 04:55 PM   #3
mich04
LQ Newbie
 
Registered: Oct 2010
Posts: 22

Original Poster
Rep: Reputation: 0
I tried "find / -name libusb" is says "bash: /: Is a directory"

I do not have a usb group as far as I know, I was curious if I could add a usb group my /etc/sudoers file. I know I had added one to give my users the ability to use sudo. I really do not want to have to change the persmissons for each user I would rather just added them to this group. This is a from scratch system, so I have VERY limited programs on it so far. Everything I do is done through config files.
 
Old 10-24-2011, 08:12 PM   #4
mich04
LQ Newbie
 
Registered: Oct 2010
Posts: 22

Original Poster
Rep: Reputation: 0
Is there anyone that can help me here? All I want to do is be able to go into thunar hotplug my usb flash sticks, digital cameras and mount external usb hard drive, but it will not let me when I am logged in as my user. I have been following the wikis http://www.google.com/url?sa=t&rct=j...Wbdgvg&cad=rja,
 
Old 10-25-2011, 06:22 AM   #5
fatmac
Senior Member
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Posts: 4,018

Rep: Reputation: Disabled
Just tried on my system (Debian).

find /usr/lib -name libusb*

this works perfectly.

find /usr/lib -name libusb*

/usr/lib/libusbmuxd.so.1.0.4
/usr/lib/libusbmuxd.so.1
/usr/lib/libusb-0.1.so.4
/usr/lib/libusb-1.0.so.0


Also try at your prompt,

groups

cdrom floppy audio dip video plugdev netdev bluetooth scanner


Hope this helps you along.

Last edited by fatmac; 10-25-2011 at 06:25 AM.
 
Old 10-27-2011, 10:41 PM   #6
mich04
LQ Newbie
 
Registered: Oct 2010
Posts: 22

Original Poster
Rep: Reputation: 0
https://bbs.archlinux.org/viewtopic.php?id=129035
Thank you guys here is the real answer to my problem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] ubuntu 9.10 - #include <libusb/libusb.h> stonehinge03 Linux - Newbie 5 04-20-2010 10:02 AM
File permissions v. directory permissions Completely Clueless Linux - Newbie 7 07-09-2009 09:33 AM
file permissions OK, but command permissions? stabu Linux - General 2 10-05-2005 01:00 PM
device file for scanner with libusb fredgt Linux - Hardware 0 04-08-2004 11:47 AM
locking a usage policy file/ftp file permissions gbow Linux - Newbie 0 02-16-2004 06:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:31 PM.

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