Owncloud bases the decision on how to exclude a file depending on the content of /etc/ownCloud/sync-exclude.lst
.
If for instance you want to include hidden .htaccess
file on you sync, you have to modify deleting the related regular expression in the file /etc/ownCloud/sync-exclude.lst
.