Skip to content
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

windows folder permission loosing #7553

Open
4 tasks done
Saentist opened this issue Jan 7, 2025 · 3 comments
Open
4 tasks done

windows folder permission loosing #7553

Saentist opened this issue Jan 7, 2025 · 3 comments

Comments

@Saentist
Copy link

Saentist commented Jan 7, 2025

Prerequisites

Platform (OS and CPU architecture)

Windows, AMD64 (aka x86_64)

Installation

GitHub releases or script from README

Setup

On one machine

AdGuard Home version

v0.107.54

Action

update app or restart PC

Expected result

App to run as usual

Actual result

Folder al files inside and subfolders and its content loose permissions and no one can read or execute it

Additional information and/or screenshots

Windows 10 Pro for Workstations
22H2
Windows Feature Experience Pack 1000.19060.1000.0

Service cannot start

only solution is to

C:\> icacls C:\AdGuardHome /reset /t /c /l
processed file: C:\AdGuardHome
processed file: C:\AdGuardHome\AdGuardHome.exe
processed file: C:\AdGuardHome\AdGuardHome.yaml
processed file: C:\AdGuardHome\agh-backup
processed file: C:\AdGuardHome\data
processed file: C:\AdGuardHome\agh-backup\AdGuardHome.exe
processed file: C:\AdGuardHome\agh-backup\AdGuardHome.exe.sig
processed file: C:\AdGuardHome\agh-backup\AdGuardHome.yaml
processed file: C:\AdGuardHome\agh-backup\agh-backup
processed file: C:\AdGuardHome\agh-backup\CHANGELOG.md
processed file: C:\AdGuardHome\agh-backup\data
processed file: C:\AdGuardHome\agh-backup\LICENSE.txt
processed file: C:\AdGuardHome\agh-backup\README.md
processed file: C:\AdGuardHome\agh-backup\agh-backup\AdGuardHome.exe
processed file: C:\AdGuardHome\agh-backup\agh-backup\AdGuardHome.exe.sig
processed file: C:\AdGuardHome\agh-backup\agh-backup\AdGuardHome.yaml
processed file: C:\AdGuardHome\agh-backup\agh-backup\CHANGELOG.md
processed file: C:\AdGuardHome\agh-backup\agh-backup\LICENSE.txt
processed file: C:\AdGuardHome\agh-backup\agh-backup\README.md
processed file: C:\AdGuardHome\agh-backup\data\filters
processed file: C:\AdGuardHome\agh-backup\data\querylog.json
processed file: C:\AdGuardHome\agh-backup\data\querylog.json.1
processed file: C:\AdGuardHome\agh-backup\data\sessions.db
processed file: C:\AdGuardHome\agh-backup\data\stats.db
processed file: C:\AdGuardHome\agh-backup\data\filters\1.txt.old
processed file: C:\AdGuardHome\agh-backup\data\filters\1651580305.txt
processed file: C:\AdGuardHome\agh-backup\data\filters\1651580306.txt
processed file: C:\AdGuardHome\agh-backup\data\filters\1651580307.txt
processed file: C:\AdGuardHome\agh-backup\data\filters\1651580308.txt.old
processed file: C:\AdGuardHome\agh-backup\data\filters\1651580309.txt
processed file: C:\AdGuardHome\agh-backup\data\filters\1651580310.txt
processed file: C:\AdGuardHome\agh-backup\data\filters\1651580311.txt.old
processed file: C:\AdGuardHome\agh-backup\data\filters\1651580312.txt.old
processed file: C:\AdGuardHome\agh-backup\data\filters\1651580313.txt.old
processed file: C:\AdGuardHome\agh-backup\data\filters\1651580314.txt
processed file: C:\AdGuardHome\agh-backup\data\filters\1651580315.txt.old
processed file: C:\AdGuardHome\agh-backup\data\filters\1677173623.txt
processed file: C:\AdGuardHome\agh-backup\data\filters\1677173624.txt
processed file: C:\AdGuardHome\agh-backup\data\filters\1677173625.txt
processed file: C:\AdGuardHome\agh-backup\data\filters\1677173626.txt
processed file: C:\AdGuardHome\agh-backup\data\filters\1677173627.txt
processed file: C:\AdGuardHome\agh-backup\data\filters\1677173628.txt
processed file: C:\AdGuardHome\agh-backup\data\filters\1677173629.txt
processed file: C:\AdGuardHome\agh-backup\data\filters\1677173630.txt
processed file: C:\AdGuardHome\agh-backup\data\filters\1677173631.txt
processed file: C:\AdGuardHome\agh-backup\data\filters\1677173632.txt
processed file: C:\AdGuardHome\agh-backup\data\filters\1677173633.txt
processed file: C:\AdGuardHome\agh-backup\data\filters\1677173634.txt
processed file: C:\AdGuardHome\agh-backup\data\filters\1677173635.txt
processed file: C:\AdGuardHome\agh-backup\data\filters\1677173636.txt
processed file: C:\AdGuardHome\agh-backup\data\filters\1677173637.txt
processed file: C:\AdGuardHome\agh-backup\data\filters\1677173638.txt
processed file: C:\AdGuardHome\agh-backup\data\filters\1677173639.txt
processed file: C:\AdGuardHome\agh-backup\data\filters\1677173640.txt
processed file: C:\AdGuardHome\agh-backup\data\filters\1677173641.txt
processed file: C:\AdGuardHome\agh-backup\data\filters\1677173642.txt
processed file: C:\AdGuardHome\agh-backup\data\filters\1677173643.txt
processed file: C:\AdGuardHome\agh-backup\data\filters\1677173644.txt
processed file: C:\AdGuardHome\agh-backup\data\filters\1995990166
processed file: C:\AdGuardHome\agh-backup\data\filters\2.txt
processed file: C:\AdGuardHome\agh-backup\data\filters\2222597255
processed file: C:\AdGuardHome\data\filters
processed file: C:\AdGuardHome\data\querylog.json
processed file: C:\AdGuardHome\data\querylog.json.1
processed file: C:\AdGuardHome\data\sessions.db
processed file: C:\AdGuardHome\data\stats.db
processed file: C:\AdGuardHome\data\filters\1.txt.old
processed file: C:\AdGuardHome\data\filters\1651580305.txt
processed file: C:\AdGuardHome\data\filters\1651580306.txt
processed file: C:\AdGuardHome\data\filters\1651580307.txt
processed file: C:\AdGuardHome\data\filters\1651580308.txt.old
processed file: C:\AdGuardHome\data\filters\1651580309.txt
processed file: C:\AdGuardHome\data\filters\1651580310.txt
processed file: C:\AdGuardHome\data\filters\1651580311.txt.old
processed file: C:\AdGuardHome\data\filters\1651580312.txt.old
processed file: C:\AdGuardHome\data\filters\1651580313.txt.old
processed file: C:\AdGuardHome\data\filters\1651580314.txt
processed file: C:\AdGuardHome\data\filters\1651580315.txt.old
processed file: C:\AdGuardHome\data\filters\1677173623.txt
processed file: C:\AdGuardHome\data\filters\1677173624.txt
processed file: C:\AdGuardHome\data\filters\1677173625.txt
processed file: C:\AdGuardHome\data\filters\1677173626.txt
processed file: C:\AdGuardHome\data\filters\1677173627.txt
processed file: C:\AdGuardHome\data\filters\1677173628.txt
processed file: C:\AdGuardHome\data\filters\1677173629.txt
processed file: C:\AdGuardHome\data\filters\1677173630.txt
processed file: C:\AdGuardHome\data\filters\1677173631.txt
processed file: C:\AdGuardHome\data\filters\1677173632.txt
processed file: C:\AdGuardHome\data\filters\1677173633.txt
processed file: C:\AdGuardHome\data\filters\1677173634.txt
processed file: C:\AdGuardHome\data\filters\1677173635.txt
processed file: C:\AdGuardHome\data\filters\1677173636.txt
processed file: C:\AdGuardHome\data\filters\1677173637.txt
processed file: C:\AdGuardHome\data\filters\1677173638.txt
processed file: C:\AdGuardHome\data\filters\1677173639.txt
processed file: C:\AdGuardHome\data\filters\1677173640.txt
processed file: C:\AdGuardHome\data\filters\1677173641.txt
processed file: C:\AdGuardHome\data\filters\1677173642.txt
processed file: C:\AdGuardHome\data\filters\1677173643.txt
processed file: C:\AdGuardHome\data\filters\1677173644.txt
processed file: C:\AdGuardHome\data\filters\1995990166
processed file: C:\AdGuardHome\data\filters\2.txt
processed file: C:\AdGuardHome\data\filters\2222597255
Successfully processed 103 files; Failed processing 0 files

similar case as
#7438

@Dynamic5912
Copy link

Upgrade to the latest AGH release

@Saentist
Copy link
Author

Saentist commented Jan 7, 2025

@Dynamic5912
image

after manual update and start
image
image
no one can use this folder and content

image
no permission to update filters even
statistics gone also
image

also all file/folders are readonly

@pekkle-hksar
Copy link

try this

#7400 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants