Change ownership within chroot
This commit is contained in:
parent
78e9bdb93e
commit
9543fea1af
|
@ -330,7 +330,12 @@ function cryptpad_create_config {
|
|||
echo ' //logFeedback: true,' >> $cryptpad_prefix$CRYPTPAD_DIR/config.js
|
||||
echo ' //logRPC: true,' >> $cryptpad_prefix$CRYPTPAD_DIR/config.js
|
||||
echo '};' >> $cryptpad_prefix$CRYPTPAD_DIR/config.js
|
||||
chown cryptpad:cryptpad $cryptpad_prefix$CRYPTPAD_DIR/config.js
|
||||
|
||||
if [[ "$cryptpad_install_type" != "mesh" ]]; then
|
||||
chown cryptpad:cryptpad $cryptpad_prefix$CRYPTPAD_DIR/config.js
|
||||
else
|
||||
chroot "$rootdir" chown cryptpad:cryptpad $CRYPTPAD_DIR/config.js
|
||||
fi
|
||||
}
|
||||
|
||||
function mesh_install_cryptpad {
|
||||
|
|
Loading…
Reference in New Issue