File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 45
45
46
46
print_text_in_color " $ICyan " " chmod Files and Directories"
47
47
find " ${NCPATH} " / -type f -print0 | xargs -0 chmod 0640
48
- find " ${VMLOGS} " /nextcloud.log -type f -print0 | xargs -0 chmod 0640
49
48
find " ${VMLOGS} " /audit.log -type f -print0 | xargs -0 chmod 0640
50
49
find " ${NCPATH} " / -type d -print0 | xargs -0 chmod 0750
50
+ find " ${VMLOGS} " / -type d -print0 | xargs -0 chmod 0750
51
+ find " ${VMLOGS} " /nextcloud.log -type f -print0 | xargs -0 chmod 0640
51
52
52
53
print_text_in_color " $ICyan " " chown Directories"
54
+ chown " ${htuser} " :" ${htgroup} " " ${VMLOGS} " /
55
+ chown " ${htuser} " :" ${htgroup} " " ${VMLOGS} " /nextcloud.log
56
+ chown " ${htuser} " :" ${htgroup} " " ${VMLOGS} " /audit.log
53
57
chown -R " ${rootuser} " :" ${htgroup} " " ${NCPATH} " /
54
- chown -R " ${htuser} " :" ${htgroup} " " ${VMLOGS} " /nextcloud.log
55
- chown -R " ${htuser} " :" ${htgroup} " " ${VMLOGS} " /audit.log
56
58
chown -R " ${htuser} " :" ${htgroup} " " ${NCPATH} " /apps/
57
59
chown -R " ${htuser} " :" ${htgroup} " " ${NCPATH} " /config/
58
60
chown -R " ${htuser} " :" ${htgroup} " " ${NCPATH} " /themes/
You can’t perform that action at this time.
0 commit comments