mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-09-15 15:47:36 -04:00
1 parent
119d648a93
commit
462c6613fc
1 file changed
+4
@@ -140,6 +140,10 @@ update_config() {
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
update_db() {
|
||||
print_msg "- Updating DB permissions..."
|
||||
sudo chgrp -R www-data $PIALERT_HOME/db 2>&1 >> "$LOG"
|
||||
chmod -R 770 $PIALERT_HOME/db 2>&1 >> "$LOG"
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user