IOError: [Errno 30] Read-only file system: '/usr/share/gufw/cfg_files/gufw_log.txt'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gufw |
Fix Released
|
Undecided
|
costales |
Bug Description
gufw_0.20.3-all.deb
/usr is designed only for static files. it is a very bad programming practice to write system log files in /usr directory
log files should reside in /var/log directory.
root@host:
Traceback (most recent call last):
File "/usr/share/
Gufw = init_gufw(gufw)
File "/usr/share/
initializat
File "/usr/share/
refresh_
File "/usr/share/
l_file = open(p_file, "w")
IOError: [Errno 30] Read-only file system: '/usr/share/
please modify /usr/share/
to
# Paths configurations
path_locale_check = sys.path[0] + "/locale-
path_locale1 = sys.path[0] + "/locale-langpack"
#path_gufw_log = sys.path[0] + "/cfg_files/
# System paths
path_system_root = "/usr/share/"
path_locale2 = "/usr/share/
path_ufw_status = "/etc/ufw/ufw.conf"
path_ufw_config = "/etc/default/ufw"
path_ufw_rules_ipv4 = "/var/lib/
path_ufw_rules_ipv6 = "/var/lib/
path_gufw_log = "/var/log/
better still create a /var/ufw or /var/gufw directory and put all your variable ufw/gufw stuff in there
Changed in gui-ufw: | |
status: | Fix Committed → Fix Released |
Hi! /code.launchpad .net/gui- ufw/main/ 0.20.0/
Thanks by the bug.
Can you check the version 0.20.4 alpha, please?
Thanks very much!
https:/