Re: Preventing Permanate Loss of Files On Thu, 26 Jun 2003 10:52:12 -0700, Brad S wrote:
> I am currently running samba, on a redhat 8.0 machine. One of my
> network users deleted a file that was critical from their workstation.
> I am looking to create a directory that will store the files deleted
> off the server (similar to a windows recycling bin) so I can
> permanatly delete them later. If anyone can reply with web addresses
> or information, I would greatly appreciate it. Thank You In Advance!
chmod 1777 shared_directory
Sets the sticky bit so no user can delete other user's files. If the
"critical" file is owned by the dumb-ass user then use chattr to prevent
deletion without changing the file attributes again. |