From c1c1706c86f1be7f7ca6ad927561acb7e9b14f4a Mon Sep 17 00:00:00 2001 From: Christoph Niethammer Date: Tue, 18 Feb 2020 13:01:06 +0000 Subject: [PATCH] Copy permissions from user to group and other excluding write access. --- functions.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/functions.sh b/functions.sh index 9882511..29de289 100644 --- a/functions.sh +++ b/functions.sh @@ -144,8 +144,7 @@ sit_copy_logs() { } src_setperms() { - chmod -R g+rwX $PREFIX - chmod -R o+rX $PREFIX + chmod -R g=u,o=u-w $PREFIX } sit_setperms() { sit_info "Setting proper permissions"