/usr/bin/openrazer-daemon:PermissionError:/usr/bin/openrazer-daemon@199:run:install_example_config_file:makedirs:makedirs

Bug #2027832 reported by errors.ubuntu.com bug bridge
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openrazer (Ubuntu)
New
High
Unassigned

Bug Description

The Ubuntu Error Tracker has been receiving reports about a problem regarding openrazer. This problem was most recently seen with package version 3.6.1-1~929~ubuntu20.04.1, the problem page at https://errors.ubuntu.com/problem/d806340f7c8dd7d36347b61b1d5ec308aa54cb47 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.

Revision history for this message
Brian Murray (brian-murray) wrote :

Here is one traceback for the bucket in the Error Tracker:

Traceback (most recent call last):
  File "/usr/bin/openrazer-daemon", line 199, in <module>
    run()
  File "/usr/bin/openrazer-daemon", line 184, in run
    install_example_config_file(args.config)
  File "/usr/bin/openrazer-daemon", line 112, in install_example_config_file
    os.makedirs(os.path.dirname(config_file), exist_ok=True)
  File "/usr/lib/python3.8/os.py", line 213, in makedirs
    makedirs(head, exist_ok=exist_ok)
  File "/usr/lib/python3.8/os.py", line 223, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/var/www/.config'

Some other ones have '/var/sendmail/.config' as the directory which is trying to be written to.

Changed in openrazer (Ubuntu):
importance: Undecided → High
Revision history for this message
Brian Murray (brian-murray) wrote :

I had brief look at daemon/run_openrazer_daemon.py and didn't see why RAZER_CONFIG_HOME would be incorrect.

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.