From 295a153696ec3f70e33378791344068448800c7c Mon Sep 17 00:00:00 2001 From: "dylan.araps@gmail.com" Date: Tue, 21 Jan 2020 00:19:05 +0000 Subject: kiss: Prevent sticky directories FossilOrigin-Name: 8887aca8eb214dbe35afd64628afbf9e069d05454870063baad33fe937e5e241 --- kiss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kiss b/kiss index 602845e..dfd977c 100755 --- a/kiss +++ b/kiss @@ -774,8 +774,9 @@ pkg_install() { # This is repeated multiple times. Better to make it a function. pkg_rsync() { - rsync --chown=root:root -WhHKa --no-compress "$1" --exclude /etc \ - "$tar_dir/$pkg_name/" "$KISS_ROOT/" + rsync --chown=root:root --chmod=Du-s,Dg-s,Do-s \ + -WhHKa --no-compress "$1" --exclude /etc \ + "$tar_dir/$pkg_name/" "$KISS_ROOT/" } # Install the package by using 'rsync' and overwrite any existing files -- cgit v1.2.3