mirror of
https://github.com/linuxserver/docker-swag.git
synced 2025-01-23 13:11:10 -05:00
set permissions on crontabs
This commit is contained in:
parent
f5c2f5a154
commit
1f42ec3bd5
@ -25,6 +25,12 @@ if [[ ! -f /config/crontabs/abc ]]; then
|
|||||||
cp /etc/crontabs/abc /config/crontabs/
|
cp /etc/crontabs/abc /config/crontabs/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# set permissions on crontabs
|
||||||
|
lsiown root:root \
|
||||||
|
/config/crontabs/root
|
||||||
|
lsiown abc:abc \
|
||||||
|
/config/crontabs/abc
|
||||||
|
|
||||||
# import user crontabs
|
# import user crontabs
|
||||||
crontab -u root /config/crontabs/root
|
crontab -u root /config/crontabs/root
|
||||||
crontab -u abc /config/crontabs/abc
|
crontab -u abc /config/crontabs/abc
|
||||||
|
Loading…
Reference in New Issue
Block a user