Hi ! I'd like to know how does Samba delete files, because I need do something to instead Samba removes files, it moves the deleted files to another directory, like a Netware Salvage File or a Windows Trash Can. Thanks, Bruno Stella brunostella@trt15.gov.br Setor de Redes - Secretaria de Informatica Tribunal Regional do Trabalho da 15a. Regiao
On Mon, Sep 15, 2003 at 04:52:44PM -0300, Bruno Tobias Stella wrote:> I'd like to know how does Samba delete files, because I need do > something to instead Samba removes files, it moves the deleted > files to another directory, like a Netware Salvage File or a > Windows Trash Can.A standard Samba setup just deletes the files immediately. You want to look at the "recycle" VFS module, which does what you want. I know that 3.0 includes it, but I don't remember if it's bundled with 2.2.8 or if you'll have to download it. -- Michael Heironimus
On Mon, 15 Sep 2003, Bruno Tobias Stella wrote:> Hi ! > > I'd like to know how does Samba delete files, because I need do > something to instead Samba removes files, it moves the deleted > files to another directory, like a Netware Salvage File or a > Windows Trash Can.Oh, you mean like the recycle.so module for samba does. Fancy that, it's there already! Refer to the Samba-HOWTO-Collection.pdf available from: http://us1.samba.org/samba/devel/docs/Samba-HOWTO-Collection.pdf See chapter 20. If this does not answer your needs, please let me know in time before Friday so I can fix the documentation before Samba-3.0.0 ships and before the HOWTO goes to the publisher. - John T. -- John H Terpstra Email: jht@samba.org