When I create a folder starting with multiple dots (at least 3), it gets created but is not visible.
... folder with dotsThe folder should be visible
Folder is not visible
Operating system: Ubuntu 18.04
Web server: nginx
Database: mariadb
PHP version: 7.3
Nextcloud version: 18.06
Updated from an older Nextcloud/ownCloud or fresh install: Updated
Where did you install Nextcloud from:
could you check in the settings in the lower left section of the files UI, if "show hidden files" is selected or not?
files or folders starting with a . (dot) are treated as hidden, as they are with any UNIX like OS
Thanks a lot. When I select "Show hidden files" the folder is shown. I was not aware of this option. I would suggest to enable this setting by default to avoid confusion.
well no, I wouldn't say so, as this would probably confuse much more people then because synced and on OS level hidden files would then be visible in Nextcloud...
I guess the better approach would be to show a hint/warning when a user enters a . (dot) as first character for a new folder name (and on rename as well); what do you think @nextcloud/designers
The warning is already present for /\./, we can extend it to /\..+/ so that any string that starts with a dot is matched

As i understand it is not about an invalid filename but about giving a hint that the folder might be hidden for a name like "...test".
Most helpful comment
As i understand it is not about an invalid filename but about giving a hint that the folder might be hidden for a name like "...test".