Yet if you would have tested my example to reproduce the problem, or look at the screenshot above, the windowsclient looks at both the hidden-attribute and at the filename.Īll i ask is for a solution that it only looks at the attribute, not at the filename. “bestand/map is genegeerd omdat het verborgen is” (dutch) = “file/fodler is ignored because it is hidden” (english) The windows client is looking at both the filename and the attribute. filename.txt, but not files which are hidden by setting a file attribute.Īs i clearly stated in my problem-description: Hidden files are files starting with a dot like. Tell me you didn’t read or tried my ‘how to reproduce’-text without saying you didn’t read or tried it.Īnd that you as a linux-fanboy were just triggered by the “linux.idiotic behaviour” in my post Maybe someone else will have some other ideas they can share that are more to your liking. This did appear as an issue in Github over five years ago and was responded to and closed the same day. Whether they are or not, they are treated as such by the ownCloud client, and this is explicitly mentioned in the documentation. ) but not sync hidden files (attribute ‘hidden’ set)? whether they have that hidden-attribute set or not)Īnd how can i set the current client to correctly sync. (and tbh : do the same on serverside - windows users don’t care about linux idiotic behaviour of hidding all files that start with a. Which can both be switched on or off in any combo. sync hidden files which filenames start with.sync hidden files with attributed ‘hidden’ set (windows style). Or make an option avail to ignore seeing filenames starting with a dot (’.’) as hidden, but still see files with attribute ‘hidden’ enabled as hidden. The above should be clear - check steps to reproduce.Įither make the client to correctly only look at the attributes of a file to mark a file as hidden or not. Installation path of client: shouldn’t matter - there are no spaces in the installation path and plenty of disk space avail. Client configurationĬlient version: latest windows client 2.11 Operating system: arm64 armbian ubuntu v20Įverything alse like in the docker-compose example file as shown in the documentation on the owncloud-site. set the client to sync hidden files and all 4 get synced.Only the first file gets synced, while both the 1st and the 3rd file should get synced according to their attributes. Set the client to not sync hidden files and set up a folder sync for the above folder “.hidden” that does has the attribute set “.visible” file that does not has that attribute setĭ. “hidden.txt” that does has that atttribute set,Ĭ. “visible.txt” that does not has its ‘hidden’-attribute set,ī. (a dot) and sees both as ‘hidden’ files and doesn’t sync them if “sync hidden files” is not enabled in the settings. The windows client looks at the attributed ‘hidden’ if this is set or not, and at the filename, whether or not it starts with a. or not.Īka: same as any other windows program does Actual behaviour and DIR/A:H only shows files with the ‘hidden’-attribute set not caring if the filename starts with. or like command-line command DIR or DIR /A:-H only shows non-hidden files (attribute ‘hidden’ is not set) independing of the filename starting with. I expect a windows client to only look at the attributes of a file - same as folderoptions in windows does when you choose to show or hide ‘hidden files’. are not shown if you don’t enable “show hidden files”. Same on the server: files that have their ‘hidden’-attribute set are not shown, but also files that start with a. gitignore files get synced all of the sudden, but folders like ‘.git’ or files like ‘desktop.ini’ - that do have their hidden-attribute set - also get synced. I expect all non-hidden files - those that do not have their attribute ‘hidden’ enable - to be synced if i disable ‘sync hidden files’, and i expect them to show up in on the server without the need to enable ‘show hidden files’, cause they aren’t hidden at the first place.įor example files named ‘.env’, and ‘.gitignore’ do not get synced even if they are not hidden files (attributed ‘hidden’ is not set)īut if i enable “sync hidden files”, thsoe. I don’t care on which OS the server is running. as hidden files without looking at their attributes, that the windows client should do so as well. It’s not because Linux wrongfully handles all files starting with a. While they do have not: the attribute ‘hidden’ enabled. The owncloud client on windows is not syncing files which names start with a dot, like.
0 Comments
Leave a Reply. |