fix: moongreet cache dir permissions 700 instead of 755

Prevents local username enumeration via world-readable cache directory.
This commit is contained in:
nevaforget committed 2026-03-31 11:06:15 +02:00
1 parent 39969668c4
commit 8b0db9e4f6
1 file changed
+2 -2
+2 -2
View File
@@ -43,6 +43,6 @@ package() {
install -Dm644 config/moongreet.toml "$pkgdir/etc/moongreet/moongreet.toml"
# Cache directories
install -dm755 "$pkgdir/var/cache/moongreet"
install -dm755 "$pkgdir/var/cache/moongreet/last-session"
install -dm700 "$pkgdir/var/cache/moongreet"
install -dm700 "$pkgdir/var/cache/moongreet/last-session"
}