This would have been beter placed on the suse-linux-e list, I belive. Anyway, I use this script which I named "trash.sh" #!/bin/bash /bin/mkdir -p ~/trashbin /bin/mv "$@"" ~/trashbin/ It could probably be easily modified to get the cwd and stuff the file in $cwd/.trash instead of ~/trashbin. then if you _really_ want to be safe you can stick this alias in ~/.alias: alias rm='/usr/local/bin/trash.sh' Users could still us rm by calling it directly: /bin/rm And to empty the trashcan: suse3:~ > cat /usr/local/bin/emptytrash.sh #!/bin/bash /bin/rm -rf ~/trashbin/* You could maybe make "purge" a script that got your UID (sounds like an awk job), then used your UID with 'find' to find everything you owned inside any folder named .trashbin and /bin/rm it. Sounds fun, maybe I'll hack on it later. If someone else beats me to it please post the results to suse-linux-e. HTH At 05:49 AM 12/5/2001 -0900, you wrote:
Have a user contemplating replacing his Netware server with Suse 7.3. One thing he really likes about netware is the "Salvage" ability which will recover deleted files up until the owner/deleter issues the purge command or the server runs out of least reciently used disk space.
(He's well aware of the security aspects of this, they don't have secret data, just expensive to recreate data).
Is there some package on Suse that provides the equivelent of the .snapshot directory on netapp boxes?
Any other way to achieve similar capabilities?
-- _________________________________ John Andersen / Juneau Alaska
-- To unsubscribe, e-mail: suse-security-unsubscribe@suse.com For additional commands, e-mail: suse-security-help@suse.com
---------------------------------------------------- Jonathan Wilson System Administrator Cedar Creek Software http://www.cedarcreeksoftware.com Central Texas IT http://www.centraltexasit.com