Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!wciu!art From: art@wciu.EDU (Art Nicolaysen) Newsgroups: comp.unix.misc Subject: Re: Norton Utilities vs. "the way things are" Message-ID: <1991Feb27.211748.13575@wciu.EDU> Date: 27 Feb 91 21:17:48 GMT References: <1991Feb14.200530.26105@ide.com> <453@bria> <5163@umbc3.UMBC.EDU> Reply-To: art@wciu.edu (Art Nicolaysen) Distribution: na Organization: William Carey Int'l University Lines: 23 In article <5163@umbc3.UMBC.EDU> ac999321@umbc5.umbc.edu.UUCP (ac999321) writes: >>>Retrieving a clobbered file is not, by definition, a job for a >>>sysadmin. There's nothing privileged about it. And people want to do >>I agree with this completely. There should be the ability for a user >>to recover deleted files. My point is that it should be a function of >>the kernel, and not an external kludge. > >IHMO, it seems there already is an easy way to accomplish this; write a >shell script that banishes "deleted" files to a "wastbasket" directory and >make the user purge the wastebasket when his storage space is used up. As long as the user isn't real close to his/her quota limit, the purge function can be accomplished every time the user logs out. I use an aliased rn (alias rn mv \!* ~/trash_dir) and two lines in a .logout file. This is not a totally robust method, however; does anybody want to post or email me their shell script? -- Art Nicolaysen William Carey Int'l University (Global Mapping) art@wciu.edu Pasadena CA 91104