6

I recently moved the target of folder redirection from a share to a DFS namespace share, ie from \\SITE1FILESERVER\Share to \\DOMAIN\Share. I seeded the DFS contents and accidently copied the recycle bin as well. Now, whenever users login they see an error message:

"The recycle bin on (shared, redirected My Pictures/My Videos) folder is corrupted..."

The funny thing is that I do not have the issue for Documents - only for Pictures/Videos - even though all three are redirected and I am pretty sure I accidently copied the Recycle Bin for the Documents as well.

Both Videos/Pictures are set to "follow" the Documents folder.

I do not get the issue when logged in as Administrator.

This happens on any attempt to access/refresh the Recycle Bin

Any clues on how to fix this?

2

I had a similar issue with Personal and Desktop special folders redirected on Windows 7 workstation in Active Directory to a Samba 3.6 share on a CentOS Linux server.

Every time a user logged in or opened a Recycle Bin icon on a desktop he got multiple messages like "The Recycle Bin on H:\ is corrupted. do you want to empty the Recycle Bin for this drive?".

I have found a solution on some blog post. I've added

veto files = /$RECYCLE.BIN/

to [global] section of /etc/samba/smb.conf.

I think you can use File Server Resource Manager for similar disallowing $RECYCLE.BIN on Windows Server.

1
  • This worked like a charm on Ubuntu 16.04. My only question is, where in the [global] section should I put the veto line? Right now it's the first line in the section, but I'm sure there's a more natural emplacement for it. – alfadog67 Mar 19 '19 at 22:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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