fix: moongreet cache dir permissions 700 instead of 755

Prevents local username enumeration via world-readable cache directory.
This commit is contained in:
nevaforget 2026-03-31 11:06:15 +02:00
parent ff6fe53213
commit ba65744cb8

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"
}