Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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: http://www.redhat.com/advice/tips/sambatrash.html

Please help me out here :)

share|improve this question

1 Answer 1

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: redhat.com/advice/tips/sambatrash.html –  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.