mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-20 21:33:16 -07:00
Make sure that files aren't world-writable after enabling cron
This commit is contained in:
parent
9140e26f0a
commit
bd08231629
1 changed files with 1 additions and 0 deletions
|
@ -249,6 +249,7 @@ configure_cron() {
|
|||
echo
|
||||
echo -n "Changing ownership of '${FULL_PATH}'... "
|
||||
sudo chown -R root:root "${FULL_PATH}" || abort "Unable to change ownership, cannot continue"
|
||||
sudo chmod -R o-w "${FULL_PATH}" || abort "Unable to change permissions, cannot continue"
|
||||
echo "done"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue