-
Notifications
You must be signed in to change notification settings - Fork 514
Open
Open
Copy link
Description
The setup is the following:
cd /var/lib/boinc-clientsudo -u boinc /usr/bin/boinc --no_priority_change --gui_rpc_unix_domainboinccmd --unix_domain --get_host_info
This returns can't connect to Unix domain socket. A quick investigation reveals that:
$ ls -lh boinc_socket
srwxr-xr-x 1 boinc boinc 0 Mar 31 17:51 boinc_socket
So nobody but the owner (user boinc) can write to the socket. This seems to be relevant, since running sudo -u boinc boinccmd --unix_domain --get_host_info succeeds. I am in the boinc group:
$ groups
chiraag tty cdrom floppy sudo audio dip video plugdev netdev proc bluetooth lpadmin scanner boinc
I suspect the default umask should be changed when the socket is created.
[update]
Running sudo chmod 775 boinc_socket indeed fixes the problem and boinccmd works as expected.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Type
Projects
Status
Backlog