[squid-users] Permission problems on basic auth helper

Jeff Magnusson jmagnuss at gmail.com
Tue Nov 15 07:05:19 UTC 2016

Been beating my head against this from multiple directions, any suggestions
Working on using a custom basic authenticator, but continually get
permission errors in the log file.  I've confirmed (and reset) the path and
file permissions multiple times, and confirmed that as the squid user I can
execute the helper fine and see a result.

Just now to try to narrow the issue, I've switched to the supplied
basic_ncsa_auth helper:

auth_param basic program /usr/lib64/squid/basic_ncsa_auth /tmp/htpasswd
auth_param basic children 5 startup=5 idle=1
auth_param basic realm AdOps Proxy
auth_param basic credentialsttl 1 hours

# su squid -c "/usr/lib64/squid/basic_ncsa_auth /tmp/htpasswd"
jeff blah

Log file:
FATAL: /tmp/htpasswd: (13) Permission denied
2016/11/14 22:58:57 kid1| WARNING: basicauthenticator #1 exited
2016/11/14 22:58:57 kid1| Too few basicauthenticator processes are running
(need 1/5)

# ls -l /tmp/htpasswd
-rw-rw-rw-. 1 root root 43 Nov 14 22:55 /tmp/htpasswd

?!  Thanks :)

Jeff Magnusson / jmagnuss at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20161114/c93a7cf5/attachment.html>

More information about the squid-users mailing list