Home > Ask the Enterprise Linux Experts > Questions & Answers > How do you set up a recycle bin in Samba 3.0?
Ask The Enterprise Linux Expert: Questions & Answers
EMAIL THIS

How do you set up a recycle bin in Samba 3.0?

John H. Terpstra EXPERT RESPONSE FROM: John H. Terpstra

Pose a Question
Other Enterprise Linux Categories
Meet all Enterprise Linux Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 29 June 2003
I have a question about the Samba 3.0 VFS recycle bin module which uses parametric options. The VFS option (smb.conf) no longer exists (removed). What is the correct procedure for setting up a recycle bin in version 3.0 (granted, you need the vfs switch compiled in etc.)?

There's nothing anywhere on this, so I'm wondering if it works properly yet.


>
Samba-3 has not yet been released, so by definition that means we are still working on it as well as the documentation. This will be documented properly before release -- in the man pages, the HOWTO and in the book version of the HOWTO that should be available in the last quarter of the year.

FYI, the paramters to the smb.conf option: "vfs module =" for the recycle bin are:

recycle:repository="directory", default ".recycle" in the share root

recycle:keeptree=[False | True], default is False

recycle:versions=[False | True], default is False

recycle:touch=[False | True], default is False

recycle:exclude="pattern"

recycle:exclude_dir="pattern"

recycle:noversions="pattern"

recycle:maxsize='size'

For recycle to use a directory off the share root called "Crud," keeping the directory tree intact:

 vfs object = recycle:repository="Crud" recycle:keeptree=True
Hope this helps.

Cheers,
John T.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Linux Migration Advice: Unix-to-Linux, Windows-to-Linux
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts