restrict access to openwebrx users file
This commit is contained in:
parent
b06a629ffb
commit
0d77aaff26
3
debian/openwebrx.postinst
vendored
3
debian/openwebrx.postinst
vendored
@ -19,7 +19,8 @@ case "$1" in
|
||||
if [ ! -e "${OWRX_USERS_FILE}" ]; then
|
||||
# create an empty users file now to avoid permission problems later
|
||||
echo "[]" > "${OWRX_USERS_FILE}"
|
||||
chown "${OWRX_USER}". ${OWRX_USERS_FILE}
|
||||
chown "${OWRX_USER}". "${OWRX_USERS_FILE}"
|
||||
chmod 0600 "${OWRX_USERS_FILE}"
|
||||
fi
|
||||
|
||||
db_get openwebrx/admin_user_password
|
||||
|
Loading…
Reference in New Issue
Block a user