Uh oh!
There was an error while loading. Please reload this page.
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
bdc6d0bCompare@icewind1991 any reason we decide not to show hidden files? |
icewind1991
commented
May 20, 2019
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. 🤔 |
icewind1991
commented
May 20, 2019
that only deals with files starting with |
skjnldsv
commented
May 20, 2019
Exactly, and dot files are set as hidden in samba. |
skjnldsv
commented
May 20, 2019
|
icewind1991
commented
May 20, 2019
that's samba, with windows smb servers it's different |
skjnldsv
commented
May 20, 2019
@icewind1991 okay, though this is an issue. |
I can add an option to show hidden items, please create an issue for tracking |
skjnldsv
commented
May 21, 2019
Awesome @icewind1991 :) I owe you a beer! |
Signed-off-by: Robin Appelman robin@icewind.nl