Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
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
|
DetailsThis 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
Attached patch should fix this.
Comment by Anatol Pomozov (anatolik) -
Monday, 14 September 2015, 20:10 GMT
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.
Comment by Christoph Gysin (christoph.gysin) -
Tuesday, 15 September 2015, 05:26 GMT
Even better, we can use -k /dev/null to keep creating the home without pulling in /etc/skel.
transmission-dont-pull-in-etc...
(1 KiB)