20.7 - Proxy Errors?

Started by spetrillo, August 13, 2020, 04:04:33 PM

Previous topic - Next topic
Should I be concerned with these:

2020-08-13T10:03:03   kid1| ERROR: loading file '/usr/local/etc/squid/errors/local/ERR_FTP_FORBIDDEN': (13) Permission denied
2020-08-13T10:03:03   kid1| ERROR: loading file '/usr/local/etc/squid/errors/local/ERR_FTP_NOT_FOUND': (13) Permission denied
2020-08-13T10:03:03   kid1| ERROR: loading file '/usr/local/etc/squid/errors/local/ERR_FTP_PUT_ERROR': (13) Permission denied
2020-08-13T10:03:03   kid1| ERROR: loading file '/usr/local/etc/squid/errors/local/ERR_FTP_FAILURE': (13) Permission denied
2020-08-13T10:03:03   kid1| ERROR: loading file '/usr/local/etc/squid/errors/local/ERR_FTP_UNAVAILABLE': (13) Permission denied
2020-08-13T10:03:03   kid1| ERROR: loading file '/usr/local/etc/squid/errors/local/ERR_FTP_DISABLED': (13) Permission denied
2020-08-13T10:03:03   kid1| ERROR: loading file '/usr/local/etc/squid/errors/local/ERR_CONFLICT_HOST': (13) Permission denied
2020-08-13T10:03:03   kid1| ERROR: loading file '/usr/local/etc/squid/errors/local/ERR_PRECONDITION_FAILED': (13) Permission denied
2020-08-13T10:03:03   kid1| ERROR: loading file '/usr/local/etc/squid/errors/local/ERR_ZERO_SIZE_OBJECT': (13) Permission denied
2020-08-13T10:03:03   kid1| ERROR: loading file '/usr/local/etc/squid/errors/local/ERR_INVALID_URL': (13) Permission denied
2020-08-13T10:03:03   kid1| ERROR: loading file '/usr/local/etc/squid/errors/local/ERR_UNSUP_REQ': (13) Permission denied
2020-08-13T10:03:03   kid1| ERROR: loading file '/usr/local/etc/squid/errors/local/ERR_INVALID_REQ': (13) Permission denied
2020-08-13T10:03:03   kid1| ERROR: loading file '/usr/local/etc/squid/errors/local/ERR_UNSUP_HTTPVERSION': (13) Permission denied
2020-08-13T10:03:03   kid1| ERROR: loading file '/usr/local/etc/squid/errors/local/ERR_INVALID_RESP': (13) Permission denied
2020-08-13T10:03:03   kid1| ERROR: loading file '/usr/local/etc/squid/errors/local/ERR_TOO_BIG': (13) Permission denied
2020-08-13T10:03:03   kid1| ERROR: loading file '/usr/local/etc/squid/errors/local/ERR_ONLY_IF_CACHED_MISS': (13) Permission denied
2020-08-13T10:03:03   kid1| ERROR: loading file '/usr/local/etc/squid/errors/local/ERR_URN_RESOLVE': (13) Permission denied
2020-08-13T10:03:03   kid1| ERROR: loading file '/usr/local/etc/squid/errors/local/ERR_DNS_FAIL': (13) Permission denied
2020-08-13T10:03:03   kid1| ERROR: loading file '/usr/local/etc/squid/errors/local/ERR_SOCKET_FAILURE': (13) Permission denied
2020-08-13T10:03:03   kid1| ERROR: loading file '/usr/local/etc/squid/errors/local/ERR_SECURE_CONNECT_FAIL': (13) Permission denied

Thanks,
Steve

You can change the access rights with chmod for all files recursively. I think +r - R error directory should do.

Quote from: fabian on August 13, 2020, 04:49:11 PM
You can change the access rights with chmod for all files recursively. I think +r - R error directory should do.

Still getting the issues after adjusting the permissions. See attachment

add others the r as well, the x for directories and then check the recursive option. the files are just templates anyone can get as rendered page, they can be read by anyone as there is nothing private. You may check who the actual owner of the files is and which is the user and group of your squid to find out why you get those access denied issues.