@@ -140,6 +140,10 @@ update_config() {
|
|||||||
#
|
#
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
update_db() {
|
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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user