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
signature.asc
Description: OpenPGP digital signature