Hi all,
I got some folders mounted via Local External Store and would like to exclude some folders from ever showing up anywhere (“@eaDir ” and “#recycle ” Folders, created by Synology NAS).
Current Solution: Prevent Access to those folders on filesystem level (acl deny for everything), so users cannot enter those folders. But they still show up in the files-app and occ files:scan
breaks with an Exception during scan: [...] Permission denied
.
I tried: Adding the folder-names to blacklisted_files
in config.php as described here:
https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/config_sample_php_parameters.html?highlight=blacklisted
files_escludedirs-app is not available anymore:
Hi,
I have updated to NC 14 and the “files_excludedirs” app is not compatible with NC 14.
Is there any way to exclude files and folders from showing up in NC 14 now that the APP is not compatible with NC 14, or is there any way to make the app work in NC 14?
opened 05:20PM - 20 Oct 17 UTC
closed 11:46AM - 05 Dec 17 UTC
enhancement
feature: files
Hello,
I would like to exclude directories for file:scan command in nextcloud… , but found out this is available in owncloud only.
As stated in the [owncloud manual](https://doc.owncloud.org/server/latest/admin_manual/configuration/server/excluded_blacklisted_files.html),
> Impact on System Performance
If you have a filesystem mounted with 200,000 files and directories and 15 snapshots in rotation, you would now scan and process 200,000 elements plus 200,000 x 15 = 3,000,000 elements additionally. These additional 3,000,000 elements, 15 times more than the original quantity, would also be available for viewing and synchronisation. Because this is a big and unnecessary overhead, most times confusing to clients, further processing can be eliminated by using excluded directories.
this is a essential functionality for such use case.
More discussions could be found in [owncloud issue](https://github.com/owncloud/core/pull/15478).
It would be great if there is a plan on implementing this. Thanks!
Same issue:
Hi,
I’ve install Linuxserver.io /nextcloud docker version on my Synology NAS and everything works great so far except the fact that I keep seeing the normally hidden folder @eaDir allover the place when mounting Local external storage.
Is there a way to keep these folders hidden when mounting local external storage?
[25]
OwnCloud has an excluded_directories
-Parameter for config.php to solve this:
Would be nice if anyone has any suggestions
3 Likes
I am in the same boat, although I had been using this user’s branch
Which worked up until version 19. I have not troubleshooted as to why it stopped working. I suspect it is due to dependency changes
1 Like
Any working solution with NextCloud 20 to exclude these @eaDir directories?
This would be a neat feature to have!
thopic
April 20, 2021, 2:48pm
5
FYI as #6888 is closed for a while now, I just opened a new issue on this topic : #26651
nextcloud:master
← nextcloud:bugfix/noid/continue-on-denied-acls
opened 03:10PM - 20 Apr 21 UTC
When iterating over the files in a directory of an SMB share the the directory t… he iterable would stop after the first ACL that denies access instead of just hiding those entries. This may lead to incomplete directory listings on SMB shares with the ACL check enabled.
The “permission denied”-error seems to be getting fixed right now, including backport to 21/20.
Edit 2021-08-01: This Bugfix is related only to external smb-storage, not external local-storage.