Bug #2756

Web filter: "Permission denied" error on web interface

Added by Giacomo Sanchietti about 7 years ago. Updated about 7 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-squidguard
Target version:v6.5
Security class: Resolution:
Affected version:v6.5-final NEEDINFO:No

Description

After squidGuard list update, the web interface reports following error:

[2] fopen(/var/squidGuard/blacklists/global_usage): failed to open stream: Permission denied

See the system log for details.

Expected behavior: no error displayed on web interface.

Associated revisions

Revision a038a805
Added by Giacomo Sanchietti about 7 years ago

Blacklists: fix permission for global_usage index. Refs #2756

Revision 13c0ecdb
Added by Giacomo Sanchietti almost 7 years ago

Custom list action: always exit 0. Refs #2756

History

#1 Updated by Giacomo Sanchietti about 7 years ago

  • Status changed from NEW to TRIAGED
  • Target version set to v6.5
  • % Done changed from 0 to 20

#2 Updated by Giacomo Sanchietti about 7 years ago

  • Status changed from TRIAGED to ON_DEV
  • % Done changed from 20 to 30

#3 Updated by Giacomo Sanchietti about 7 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60

#4 Updated by Giacomo Sanchietti about 7 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70
Package in nethserver-testing:
  • nethserver-squidguard-1.0.3-1.0gita038a805.ns6.noarch.rpm
Test case
  • Force blacklist download by executing: /etc/cron.daily/update-squidguard-blacklists
  • Check no error is present in web interface
  • Chek /var/squidGuard/blacklists/global_usage has following permissions: rw-r--r

#5 Updated by Massimo Palazzetti about 7 years ago

  • Assignee set to Massimo Palazzetti

#6 Updated by Massimo Palazzetti about 7 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Massimo Palazzetti)
  • % Done changed from 70 to 90

Tested: OK

#7 Updated by Giacomo Sanchietti about 7 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100
Released in nethserver-updates:
  • nethserver-squidguard-1.0.4-1.ns6.noarch.rpm

Also available in: Atom PDF