permission denied

Bug #532763 reported by Seria
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
USBManager
Confirmed
Medium
Magnun Leno

Bug Description

Traceback (most recent call last):
  File "/usr/local/bin/usbmanager", line 43, in <module>
    rmtree(dst)
  File "/usr/lib/python2.6/shutil.py", line 216, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/usr/lib/python2.6/shutil.py", line 221, in rmtree
    onerror(os.remove, fullname, sys.exc_info())
  File "/usr/lib/python2.6/shutil.py", line 219, in rmtree
    os.remove(fullname)
OSError: [Errno 13] Permission denied: './locale/de/LC_MESSAGES/usbmanager.mo'

-rw-r--r-- 1 root root 5426 2010-03-05 17:33 ./locale/de/LC_MESSAGES/usbmanager.mo

Revision history for this message
Seria (andreas-boettger) wrote :

and as sudo:

sudo usbmanager
Traceback (most recent call last):
  File "/usr/local/bin/usbmanager", line 50, in <module>
    import src.main as usbmanager
ImportError: No module named src.main

Revision history for this message
Magnun Leno (magnun-leno) wrote :

Hello abo,

I need some more details about your environment and circumstances. Witch version are you running? Have you installed USBManager? What are your current folder during the USBManager call?

This usually happen when you unpack USBManager (let's say, in /tmp/usbmanager), install it and try to run from inside tmp/usbmanager:

magnun@Debian:/tmp/usbmanager$ usbmanager
Traceback (most recent call last):
  File "/usr/bin/usbmanager", line 50, in <module>
    import src.main as usbmanager
ImportError: No module named src.main

Just go outside the folder:

magnun@Debian:/tmp/usbmanager$ cd ..
magnun@Debian:/tmp$ usbmanager
Graphical frontend for sudo: /usr/bin/gksu
Starting DBus...
Starting HAL...
Connecting to signals...
(...)

The start up script is tricked, and 'thinks' that USBManager is not installed. It's not really a Bug, since it doesn't affect the USBManager proper working. But it's an Issue I have to solve. Thanks for reporting!

Changed in usbmanager:
assignee: nobody → Magnun Leno (magnun-leno)
importance: Undecided → Medium
Revision history for this message
Seria (andreas-boettger) wrote :

hmm, it works

Changed in usbmanager:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.