mirror of
https://github.com/linuxserver/docker-swag.git
synced 2026-10-25 21:26:47 +09:00
set permissions on crontabs
This commit is contained in:
1 parent
f5c2f5a154
commit
1f42ec3bd5
1 file changed
+6
@@ -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