dom0-updates: ensure proper permissions on "updates pending" flag

QubesOS/qubes-issues#1511
This commit is contained in:
Marek Marczykowski-Górecki 2015-12-13 02:07:01 +01:00
parent d9a2a66073
commit 4a556dcab1
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -18,4 +18,6 @@ if [ "$RETCODE" -ne 100 ]; then
fi fi
# Touch stat file for qubes-manager # Touch stat file for qubes-manager
touch $UPDATES_STAT_FILE touch "$UPDATES_STAT_FILE"
chgrp qubes "$UPDATES_STAT_FILE"
chmod g+w "$UPDATES_STAT_FILE"