Undelete for Samba
m.brodbelt at acu.ac.uk
Mon Oct 9 10:09:19 GMT 2000
Jay Thompson wrote:
> Hey Ya'll, sorry about the blank reply a few minutes ago.
> What I have to offer here about file-delete protection is not really a samba
> thing (as far as I know, there is no good samba solution for this). But
> some of your samba admins must have pure UNIX users. This is for them.
> For a little protection for my users (all of whom I set up with the CShell), I
> put some code into their .cshrc file to do what I call "safe_rm".
This sort of thing can be valuable, but has it's limitations. It's done
by making rm do something other that what it normally does, but it will
have no effect whatsoever on programs that call the system unlink()
function. It'll only help you recover from errant shell scripts, or
programs that actually exec rm via the shell.
More information about the samba