to not remove any files with 644 permissions. This allows me to detect my error saving stuff in /tmp In the end this may cause /tmp overload so Ubuntu developers might want to add a policy to copy teh files to each users garbagecan and popup an alert that some suspisiosly looking files were put there, or something.
OK, this works for me: I just changed the /etc/init. d/bootclean
joakim@ alcatraz: /etc/init. d$ diff bootclean.sh bootclean.sh~
63c63
< ! -perm 644 ! -type d -print0 | xargs -0r rm -f
---
> ! -type d -print0 | xargs -0r rm -f
to not remove any files with 644 permissions. This allows me to detect my error saving stuff in /tmp In the end this may cause /tmp overload so Ubuntu developers might want to add a policy to copy teh files to each users garbagecan and popup an alert that some suspisiosly looking files were put there, or something.