-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
filesystem permissions: limit number of startup permissions checks
This is way too slow with a large number of files. The majority of the files on my system are screenshots, which are not important since we do not read or write from them. Most of the time seems to be in isWritable() which is doing GetFileSecurity(), OpenThreadToken(), and AccessCheck(). Limit the checks to the main top level directories and then also limit the number of files checked in each directory.
- Loading branch information
Showing
1 changed file
with
23 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters