-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Add configuration option to exclude directories and files from file system scan #10792
Comments
Is the use case mostly for external storage ? (possibly SMB) |
If the directories are excluded from the scan, it means they'd never appear inside of ownCloud as if they didn't exist. It also means that if you exclude a folder called "excluded" from the scan, the code needs to make sure it's not possible for a user to create a folder called "excluded", even though it doesn't appear in the UI / file cache. @icewind1991 what do you think ? |
@PVince81 As long as
|
Solved with #19235. Because excluding from scan alone isn't enough anyway as the files would be found later at access time. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Expected behavior
It should be possible to exclude directories and files from being added to the cache during a file system scan. In a first step a general configuration option should be added to define excludes, in a second step it might be worse to define excludes based on a file, e.g. '.oc-scan-excludes', which can be stored in a directory which contains directories and files to be excluded.
Actual behavior
All directories and files are scanned during a file system scan which also include e.g. unix hidden files which are starting with a dot, or Windows profile data, e.g. profile.V2/... (which might contain 10-100k files).
Steps to reproduce
Check the debug output during a file system scan.
Environment
Server Configuration
OS: Linux 3.2.54
Web server: Apache2 2.4.10
Database: MySQL 5.1.73
PHP version: 5.4.26
ownCloud version: 7.0.2
Client Configuration
Browser: Firefox 31.0
Operating system: Windows 7
The text was updated successfully, but these errors were encountered: