MicrosoftEdge / MicrosoftEdge/WebView2Feedback

Some files and folders of the cache directories have different permissions

Open
#2,838 18 comments 0 reactions 1 assignee View on GitHub

@LiangTheDev is already working on this.

Since Oct 6, 2022.

bug
Dominant language
PowerShell
Stars
526
Forks
67
PR merge metrics
No merged PRs in 30d

Description

I build an application using webview2 that can delete, at startup, the cache folder.
The cache folder is set to a different path for each Windows users.
The deletion fail on some files and directories for "access denied"
The permission on those files and directories are not the same than the permissions on parents directories.
The permissions are set specifically to the user and do not inherit from the parent folder.
On the parents folders, permissions are set for groups.

For example, on ...\EBWebView\Trust Protection Lists\1.0.0.23
EBWebView permissions are set "normally" on the groups "User", "Authenticated users" ...
EBWebView\Trust Protection Lists permissions are set "normally" on the groups "User", "Authenticated users" ...
EBWebView\Trust Protection Lists\1.0.0.23 permissions are set for the user (and System and Admin)
EBWebView\Trust Protection Lists\1.0.0.23... permissions are set for the user (and System and Admin)

Why that ?

Version used: 104.0.1293.54

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.