FS#46264 - [transmission-cli] Avoid useradd -m to prevent pulling in /etc/skel content.
Attached to Project:
Arch Linux
Opened by Earnestly (Earnest) - Friday, 11 September 2015, 18:19 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Friday, 15 July 2016, 08:04 GMT
Opened by Earnestly (Earnest) - Friday, 11 September 2015, 18:19 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Friday, 15 July 2016, 08:04 GMT
|
Details
This is a very trivial OCD-level gripe.
Looking over a few untracked files on the system and I found `/var/lib/transmission` containing many of the old `/etc/skel` files. This is due to the call to `useradd -m` in the scriptlet. Would you perhaps change this to use `mkdir -p /var/lib/transmission` and remove `-m` from `useradd` in the scriptlet? |
This task depends upon
Closed by Bartłomiej Piotrowski (Barthalion)
Friday, 15 July 2016, 08:04 GMT
Reason for closing: Fixed
Additional comments about closing: transmission 2.92-3
Friday, 15 July 2016, 08:04 GMT
Reason for closing: Fixed
Additional comments about closing: transmission 2.92-3
Comment by
Christoph Gysin (christoph.gysin) -
Monday, 14 September 2015, 19:22 GMT
Comment by
Anatol Pomozov (anatolik) - Monday,
14 September 2015, 20:10 GMT
Comment by
Christoph Gysin (christoph.gysin) -
Tuesday, 15 September 2015, 05:26 GMT
Attached patch should fix this.
I currently cannot test the patch (travelling). I think the newly
created directory ownership should be changes to 'transmission'
user. Test the installation by uninstalling transmission package
then completely removing /var/lib/transmission and then
reinstalling the package back.
Even better, we can use -k /dev/null to keep creating the home
without pulling in /etc/skel.