log entries that are hidden during file listing#10697
Conversation
| } | ||
| return array_filter($files, function (IFileInfo $file) { | ||
| try { | ||
| $this->logger->debug('hiding hidden file ' . $file->getName()); |
There was a problem hiding this comment.
doesn't the state depend on the return value of the following method?
Signed-off-by: Robin Appelman <robin@icewind.nl>
6242e2f to
bdc6d0b
Compare
|
@icewind1991 any reason we decide not to show hidden files? |
|
because showing them would cause inconsistent views between NC and mounting the share in windows and we don't have proper hidden file handling |
What do you mean by that? We have the show/hide hidden files option in nextcloud, so it's also inconsistent between any smb mount and what is displayed on nextcloud. 🤔 |
|
that only deals with files starting with |
|
Exactly, and dot files are set as hidden in samba. |
|
|
that's samba, with windows smb servers it's different |
|
@icewind1991 okay, though this is an issue. |
|
I can add an option to show hidden items, please create an issue for tracking |
|
Awesome @icewind1991 :) I owe you a beer! |
Signed-off-by: Robin Appelman robin@icewind.nl