sugarlabs/sugar — pull request #120 by walterbender (2013-11-14 08:18:36+00:00)
Title: The set hidden attribute ioctl doesn't work for

~/Documents/.Sugar-Metadata, however it is not necessary to apply the
flag, since it is a Linux file system. This patch checks to see if the
destination of the copy is ~/Documents, and if so, skips the ioctl.

Fixes #4656