mirror of
https://github.com/linuxserver/docker-swag.git
synced 2026-02-09 14:34:14 +09:00
set permissions on crontabs
This commit is contained in:
@@ -25,6 +25,12 @@ if [[ ! -f /config/crontabs/abc ]]; then
|
||||
cp /etc/crontabs/abc /config/crontabs/
|
||||
fi
|
||||
|
||||
# set permissions on crontabs
|
||||
lsiown root:root \
|
||||
/config/crontabs/root
|
||||
lsiown abc:abc \
|
||||
/config/crontabs/abc
|
||||
|
||||
# import user crontabs
|
||||
crontab -u root /config/crontabs/root
|
||||
crontab -u abc /config/crontabs/abc
|
||||
|
||||
Reference in New Issue
Block a user