Your message dated Wed, 6 Apr 2016 10:06:34 +0000 (UTC)
with message-id <[email protected]>
and subject line Re: Bug#818789: boinc-client: boinc configuration files not rw
for boinc group and permissions restored at every update
has caused the Debian Bug report #818789,
regarding boinc-client: boinc configuration files not rw for boinc group and
permissions restored at every update
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
818789: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818789
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: boinc-client
Version: 7.6.31+dfsg-1~bpo8+1
Severity: normal
Tags: upstream
Dear Maintainer,
The boinc daemon runs as user boinc so I expect to gain administration rights
adding my user to the boinc group but all configuration files files in the
boinc data directory (simlinked in /etc/boinc-client/) are not writable by the
group.
In addition if I change g+w the files they are restored to the original
permissions at avery update of the package.
Can you please change permissions of the files (if you think it is normally
safe) or just avoid overwriting?
-- System Information:
Debian Release: 8.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500,
'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.3.0-0.bpo.1-amd64 (SMP w/8 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages boinc-client depends on:
ii adduser 3.113+nmu3
ii ca-certificates 20141019
ii debconf [debconf-2.0] 1.5.56
ii init-system-helpers 1.22
ii libboinc7 7.6.31+dfsg-1~bpo8+1
ii libc6 2.19-18+deb8u4
ii libcurl3 7.38.0-4+deb8u3
ii libgcc1 1:4.9.2-10
ii libstdc++6 4.9.2-10
ii libx11-6 2:1.6.2-3
ii libxss1 1:1.2.2-1
ii python 2.7.9-1
ii zlib1g 1:1.2.8.dfsg-2+b1
boinc-client recommends no packages.
Versions of packages boinc-client suggests:
pn boinc-client-fglrx <none>
pn boinc-client-nvidia-cuda <none>
pn boinc-client-opencl <none>
ii boinc-manager 7.6.31+dfsg-1~bpo8+1
ii x11-xserver-utils 7.7+3+b1
-- Configuration Files:
/etc/boinc-client/cc_config.xml changed [not included]
/etc/boinc-client/global_prefs_override.xml changed [not included]
/etc/boinc-client/gui_rpc_auth.cfg changed [not included]
/etc/boinc-client/remote_hosts.cfg changed [not included]
/etc/default/boinc-client changed [not included]
-- debconf information excluded
--- End Message ---
--- Begin Message ---
Hi,
this is something "by design" I think.
However you can avoid override of the permission bits with
"dpkg-statoverride"
please read
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=458007
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407678
https://bugs.launchpad.net/ubuntu/+source/boinc/+bug/1162596
and specially the ch_stat function
http://anonscm.debian.org/cgit/pkg-boinc/boinc.git/tree/debian/boinc-client.postinst
ch_stat()
{
# Don't do anything if an override exists.
if ! dpkg-statoverride --list "$3" >/dev/null 2>&1 && [ -e "$3" ]; then
chmod "$1" "$3"
chown "$2" "$3"
fi
}
# Set reasonable permissions for boinc-client's conffiles (see #407678
# and #458007) but only if no 'stat override' exists.
# cc_config.xml should be boinc:boinc and not root:boinc in order to avoid lp
bug #1162596
# users should be able to change the boinc configuration by default
ch_stat 0644 boinc:boinc "$CONF_DIR/cc_config.xml"
ch_stat 0664 root:boinc "$CONF_DIR/global_prefs_override.xml"
ch_stat 0640 root:boinc "$CONF_DIR/gui_rpc_auth.cfg"
ch_stat 0644 root:boinc "$CONF_DIR/remote_hosts.cfg"
please reopen if you have a better solution!
cheers,
Gianfranco
Il Domenica 20 Marzo 2016 22:29, lo <[email protected]> ha scritto:
Package: boinc-client
Version: 7.6.31+dfsg-1~bpo8+1
Severity: normal
Tags: upstream
Dear Maintainer,
The boinc daemon runs as user boinc so I expect to gain administration rights
adding my user to the boinc group but all configuration files files in the
boinc data directory (simlinked in /etc/boinc-client/) are not writable by the
group.
In addition if I change g+w the files they are restored to the original
permissions at avery update of the package.
Can you please change permissions of the files (if you think it is normally
safe) or just avoid overwriting?
--- End Message ---