diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-01-21 00:19:05 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-01-21 00:19:05 +0000 |
commit | 295a153696ec3f70e33378791344068448800c7c (patch) | |
tree | b57adab072924af4ddee5e4266dec9550de14e41 | |
parent | 8a05fbe415958bba526f57b76ae1bff75906a4e3 (diff) | |
download | cpt-295a153696ec3f70e33378791344068448800c7c.tar.gz |
kiss: Prevent sticky directories
FossilOrigin-Name: 8887aca8eb214dbe35afd64628afbf9e069d05454870063baad33fe937e5e241
-rwxr-xr-x | kiss | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |