Public bug reported:

Binary package hint: usb-creator

$HOME is NFS-mounted and the clients root-user has no right on the NFS-
server.

usb-creator tries to write .usb-creator.log in users home directory but
are not alloewd to write to users home. usb-creator crashes.

$ usb-creator 
  File "/usr/bin/usb-creator", line 40, in <module>
    f = GtkFrontend()
  File "/usr/lib/python2.5/site-packages/usbcreator/gtk_frontend.py", line 52, 
in __init__
    self.backend = Backend(self)
  File "/usr/lib/python2.5/site-packages/usbcreator/backend.py", line 87, in 
__init__
    self.logger = Logger()
  File "/usr/lib/python2.5/site-packages/usbcreator/backend.py", line 33, in 
__init__
    self.fp = open(log_file, 'a')
IOError: [Errno 13] Permission denied: '/home/magru/.usb-creator.log'
Exception exceptions.AttributeError: "Logger instance has no attribute 'fp'" in 
<bound method Logger.__del__ of <usbcreator.backend.Logger instance at 
0x1f80710>> ignored


$ usb-creator --version
0.1.8

~$ lsb_release -rd
Description:    Ubuntu 8.10
Release:        8.10


$ apt-cache policy usb-creator
usb-creator:
  Installed: 0.1.10
  Candidate: 0.1.10
  Version table:
 *** 0.1.10 0
        500 http://archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status


Workaround
=========
$ sudo -s
# export SUDO_USER=root
# usb-creator

** Affects: usb-creator (Ubuntu)
     Importance: Undecided
         Status: New

-- 
usb-creator does not work when $HOME is on NFS
https://bugs.launchpad.net/bugs/295172
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to