network recycle bin

Phil Mayers p.mayers at ic.ac.uk
Tue Mar 7 00:27:20 GMT 2000


So write one! Take a look at the VFS code - simply change the delete
option to a move option, and that's that. Pretty simple I think
(although I haven't looked at it....)

...<pause>


Yeah, change the unlink and rmdir functions to call move, and you're
set.

Cheers,
Phil

Hayden Wimmer wrote:
> 
> the recycle bin is a great idea!!!
> -----Original Message-----
> From: Carey Sinclair <carey.sinclair at tait.co.nz>
> To: Multiple recipients of list SAMBA-NTDOM <samba-ntdom at samba.org>
> Date: Monday, March 06, 2000 4:03 PM
> Subject: Re: network recycle bin
> 
> >Yes, surely this would be relatively simply to patch into the Samba code. I
> >too, would be very eager if this facility was available.
> >
> >Our Novell guys continually hassle us for not being able to provide such a
> >simple 'Novell' feature.
> >
> >I don't believe there is a need to provide automatic cleaning/purging of
> the
> >'trash-bin' area - all maintenance could be provided outside of Samba (ie.
> >using Unix cron and scripts etc).
> >
> >-=-
> > Carey
> >
> >
> >Jan van Rensburg wrote:
> >
> >> why do you need the functionality on the client? when the samba server
> >> receives the recquest for a delete, it can just put the file into some
> >> designated area. the client thinks the files is really deleted, although
> on
> >> the server side it was just moved.
> >>
> >> --jan
> >>
> >> > -----Original Message-----
> >> > From: tschweikle at FIDUCIA.de [mailto:tschweikle at FIDUCIA.de]
> >> > Sent: 06 March 2000 15:38
> >> > To: Multiple recipients of list SAMBA-NTDOM
> >> > Subject: Re: network recycle bin
> >> >
> >> > As far as I know, this isn't possible for a NT-Share.
> >> > It isn't possible for SAMBA, because the client is to
> >> > provide necessary functionally and Windows doesn't
> >> > provide it...
> >> >
> >> > --
> >> >
> >
> >--
> > Carey Sinclair
> > IT Project Engineer
> > Tait Electronics Ltd, Christchurch, New Zealand
> > Email: carey.sinclair at tait.co.nz   Phone: +64 (03) 3583399
> >
> >
> >


More information about the samba-ntdom mailing list