Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a successful samba server setup but it's rather annoying that when I delete a file I can only delete it permanently and not move it to the trash. So my question is, how do I enable trash functionality on a samba share? I'd prefer to get an explanation on how to do it by CLI since this setup is on Ubuntu Server 11.04 :)

The only article I found regarding this on the web is this tutorial for Red Hat:

Please help me out here :)

share|improve this question
up vote 2 down vote accepted

You can follow this guide: The Official Samba HOWTO to enable the recycle VFS module.


Online version of the section you need

Have fun ;)

share|improve this answer
thanks I'll try this when I get home from work today :) – Niklas Oct 5 '11 at 7:06
Thanks! The online document and this linked page helped me set this up: – Niklas Oct 5 '11 at 20:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.