FS#24739 - [libtrash] Erroneous message during install
Attached to Project:
Community Packages
Opened by Taylor Hedberg (tmhedberg) - Thursday, 16 June 2011, 17:13 GMT
Last edited by Thomas Dziedzic (tomd123) - Friday, 17 June 2011, 02:44 GMT
Opened by Taylor Hedberg (tmhedberg) - Thursday, 16 June 2011, 17:13 GMT
Last edited by Thomas Dziedzic (tomd123) - Friday, 17 June 2011, 02:44 GMT
|
Details
When installing libtrash (v3.2-2), the following message is
displayed:
>> To enable libtrash at login: >> chmod 755 /etc/profile.d/libtrash.sh This is incorrect, as the default /etc/profile does not check whether a script in /etc/profile.d is executable before sourcing it, only whether it is readable. Since /etc/profile.d/libtrash.sh is installed with mode 644, this means that libtrash will always be enabled at login even if the user has not set the script as executable. Probably, the script should be renamed to libtrash.sh.disabled (or something similar), so that /etc/profile won't find it at all when searching for *.sh scripts to source, and the install-time message should be updated to reflect this. |
This task depends upon
Closed by Thomas Dziedzic (tomd123)
Friday, 17 June 2011, 02:44 GMT
Reason for closing: Won't fix
Additional comments about closing: Moved to AUR
Friday, 17 June 2011, 02:44 GMT
Reason for closing: Won't fix
Additional comments about closing: Moved to AUR