Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When creating a new folder give a hint that folder names starting with dots might be hidden #21609

Open
derhansen opened this issue Jun 27, 2020 · 5 comments · May be fixed by #43366
Open

When creating a new folder give a hint that folder names starting with dots might be hidden #21609

derhansen opened this issue Jun 27, 2020 · 5 comments · May be fixed by #43366
Labels
1. to develop Accepted and waiting to be taken care of enhancement feature: files hotspot: filename handling Filenames - invalid, portable, blacklisting, etc.

Comments

@derhansen
Copy link

Describe the bug

When I create a folder starting with multiple dots (at least 3), it gets created but is not visible.

Steps to reproduce

  1. Create a folder named ... folder with dots
  2. The folder gets created in the file system
  3. The folder is not visible in the web ui

Expected behaviour

The folder should be visible

Actual behaviour

Folder is not visible

Server configuration

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:

@derhansen derhansen added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Jun 27, 2020
@violoncelloCH
Copy link
Member

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

@derhansen
Copy link
Author

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.

@violoncelloCH
Copy link
Member

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

@marcoambrosini
Copy link
Member

marcoambrosini commented Jul 15, 2020

The warning is already present for /\./, we can extend it to /\..+/ so that any string that starts with a dot is matched

Screenshot from 2020-07-15 06-28-08

@juliusknorr
Copy link
Member

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".

@szaimen szaimen added 1. to develop Accepted and waiting to be taken care of and removed 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Jun 7, 2021
@szaimen szaimen changed the title Folders starting with multiple dots not visible When creating a new folder give a hint that folder names starting with dots might be hidden Jun 7, 2021
arublov pushed a commit to arublov/server that referenced this issue Feb 5, 2024
…ames starting with dots might be hidden nextcloud#21609

Signed-off-by: Andrii Rublov <[email protected]>
arublov pushed a commit to arublov/server that referenced this issue Feb 19, 2024
…ames starting with dots might be hidden nextcloud#21609

Signed-off-by: Andrii Rublov <[email protected]>
@skjnldsv skjnldsv moved this to Enhancements in Files to vue Aug 7, 2024
@joshtrichards joshtrichards added the hotspot: filename handling Filenames - invalid, portable, blacklisting, etc. label Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of enhancement feature: files hotspot: filename handling Filenames - invalid, portable, blacklisting, etc.
Projects
Status: Enhancements
Development

Successfully merging a pull request may close this issue.

6 participants