Copy permissions from user to group and other excluding write access.

This commit is contained in:
Christoph Niethammer 2020-02-18 13:01:06 +00:00
parent c6290aae30
commit c1c1706c86

View file

@ -144,8 +144,7 @@ sit_copy_logs() {
} }
src_setperms() { src_setperms() {
chmod -R g+rwX $PREFIX chmod -R g=u,o=u-w $PREFIX
chmod -R o+rX $PREFIX
} }
sit_setperms() { sit_setperms() {
sit_info "Setting proper permissions" sit_info "Setting proper permissions"