Arch Linux

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!
Tasklist

FS#1591 - libtrash notification

Attached to Project: Arch Linux
Opened by Lukas Sabota (punkrockguy318) - Tuesday, 05 October 2004, 16:06 GMT
Last edited by arjan timmerman (blaasvis) - Tuesday, 02 November 2004, 08:48 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To arjan timmerman (blaasvis)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

A note should be tagged on to the end of libtrash in the .install:

To enable libtrash, give users permission to execute /etc/profile.d/libtrash.sh.

To enable libtrash for all users: chmod a+x /etc/profile.d/libtrash.sh


Or something along those lines. That makes it clean that libtrash is disabled until you give permissions to /etc/profile.d/libtrash.sh
(application/octet-stream)    libtrash.install (0.5 KiB)
(application/octet-stream)    libtrash.install (0.6 KiB)
   libtrash-new.tar.gz (1.3 KiB)
This task depends upon

Closed by  arjan timmerman (blaasvis)
Tuesday, 23 November 2004, 15:16 GMT
Reason for closing:  Implemented
Comment by Lukas Sabota (punkrockguy318) - Tuesday, 05 October 2004, 17:08 GMT
Okay this is serious: Giving root execute permissions of /etc/profile.d/libtrash.sh will make fakeroot not work properly and root will not be able to open windows in X. chmod a+x is a bad idea. I have a new idea that will work properly. I will attach the libtrash.install

Comment by Lukas Sabota (punkrockguy318) - Tuesday, 05 October 2004, 17:18 GMT
The attatched libtrash.install adds the group 'trash'. Only users in group 'trash' will use the trashcan. That will prevent root from using trashcan, and fakeroot and X messing up.
Comment by Lukas Sabota (punkrockguy318) - Friday, 15 October 2004, 21:01 GMT
I uploaded a libtrash.install file. This adds the "trash" group, and only users in the "trash" group will be use the trashcan. A note should also be added like so: "Warning: Do not add the root user to the trash group"
Comment by Lukas Sabota (punkrockguy318) - Sunday, 17 October 2004, 03:23 GMT
Hmm... Still having problems... I think I'm going to have to find a better solution than groups and /etc/profile.d/. I'll keep thinking and testing
Comment by arjan timmerman (blaasvis) - Monday, 18 October 2004, 09:27 GMT
i will implement it, when you are sure ;)
Comment by Lukas Sabota (punkrockguy318) - Saturday, 06 November 2004, 20:25 GMT
I found the problem. Fakeroot will not work with libtrash is in the fakeroot preload. So I made a warning in the .install file. I also made two scripts, trashon and trashoff that will toggle the trashcan. I've uploaded all the new files, they are uploaded as "libtrash-new.tar.gz". Feel free to test and release asap :D
Comment by arjan timmerman (blaasvis) - Tuesday, 23 November 2004, 15:16 GMT
done

Loading...