#1483 Syncing filesystem skips any directory that starts with a .

2.14
closed
5
2012-11-22
2011-12-29
Mark Schouten
No

I copied all my files from my old webdav solution with scp to the new GroupOffice webdav dir. Since I develop some stuff and use mercurial to do versionmanagement, I also have .hg directories in use. Those files were missing via Webdav, although they did exist on the real filesystem.

I ran /usr/share/groupoffice/modules/files/scripts/sync_filesystem.php to include the directories, but that didn't help either.

The problem seems to be in line 804 in modules/files/classes/files.class.inc.php, where every directory starting with a . are skipped from the import. Please fix this. Thanks!

Discussion

  • GO ignores hidden files. That's by design.

     
    • status: pending --> closed
    • milestone: --> 2.14