Hi Markus,
chown -R does not recurse into hidden directories. So all directories
and files beneath .config won't be touched by chown.
Why not just chown -R /var/lib/transmission-daemon itself?
Regards,
Matthijs
On 01-11-14 15:23, Markus Koschany wrote:
On Sun, 26 Oct 2014 20:30:23 +0530 Sunil Mohan Adapa <su...@medhas.org>
wrote:
Hello,
I was interested in the fix that the patch aims to provide. A casual
glance revealed a potential problem.
+ if dpkg --compare-versions "$2" lt "2.84-0.2~"; then
+ mkdir -p /var/lib/transmission-daemon/.config/transmission-daemon
+ chown -R debian-transmission:debian-transmission
/var/lib/transmission-daemon/*
/var/lib/transmission-daemon/* would not include .config folder. .config
folder will end up being owned by 'root' user. After upgrade, the
daemon would not be able to write to the settings.json file before exit.
So settings modified using RPC or web interface will not be saved on
exit. I have not tested this though.
Thanks for Transmission, Transmission packaging and the patch.
Hello Sunil,
while the .config folder is owned by root .config/transmission-daemon is
owned by debian-transmission thus all configuration files can be written
successfully.
Please CC me, I am not subscribed to this bug report.
Regards,
Markus
--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org