Fix #4, Add cronjobs for file mode fixing
This commit is contained in:
@@ -82,3 +82,15 @@
|
|||||||
hour: 2
|
hour: 2
|
||||||
weekday: 0
|
weekday: 0
|
||||||
job: "/sbin/zpool scrub ssd"
|
job: "/sbin/zpool scrub ssd"
|
||||||
|
|
||||||
|
- name: zfs - chmod cronjob for daten and fotos
|
||||||
|
cron:
|
||||||
|
name: chmod daten and fotos
|
||||||
|
minute: "*/30"
|
||||||
|
job: "/bin/chmod -c -R ug+rwX,o-wx,o+rX /zv1/daten/ /zv1/fotos/ >> /var/log/chmod"
|
||||||
|
|
||||||
|
- name: zfs - chgrp cronjob for daten and fotos
|
||||||
|
cron:
|
||||||
|
name: chgrp daten and fotos
|
||||||
|
minute: "*/30"
|
||||||
|
job: "/bin/chgrp 2000 -R /zv1/daten/ /zv1/fotos/"
|
||||||
|
|||||||
Reference in New Issue
Block a user