-
Notifications
You must be signed in to change notification settings - Fork 464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cups_finalize_client_conf checks the DOMAINSOCKET for execution bit #4679
Comments
CUPS.org User: mike Fixed in Subversion repository. Pretty sure exec/search bit should be set on domain sockets, but read/write is enough for this check. |
"fix_local_domainsocket_access_checking.patch": Description: In absence of client.conf configuration, the default domain socket
|
Version: 2.1-current
CUPS.org User: odyx
Yves-Alexis Perez reported that since 2.x, cups clients don't connect to the correct socket: https://bugs.debian.org/792730.
I've tried to debug this, and my analysis is that since 2.x,
lpstat -H
reports localhost:631 instead of /var/run/cups/cups.sock , even with the socket file as follows in both 1.7 and 2.0:srw-rw-rw- 1 root root 0 jui 18 12:36 /var/run/cups/cups.sock
I've traced this to be correctible by changing the access checks in cups_finalize_client_conf, with the attached patch.
Does this make sense?
The text was updated successfully, but these errors were encountered: