diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2014-06-13 01:31:54 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2014-06-13 01:31:54 -0700 |
commit | b132a9721b0c0bc21158e5d33445e0bf700f97b0 (patch) | |
tree | 536407c6bdf11e2a235197b8b887cc590459d9bd /Library | |
parent | cd701a7b2beb7bf3e60047c65c8445df12e30d09 (diff) |
Fix permissions of _.* containers on new stashes.
Diffstat (limited to 'Library')
-rwxr-xr-x | Library/move.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/move.sh b/Library/move.sh index c0fc10c..98d9986 100755 --- a/Library/move.sh +++ b/Library/move.sh @@ -24,6 +24,9 @@ function mv_() { tmp=$(mktemp -d /var/stash/_.XXXXXX) dst=${tmp}/${src##*/} + chmod 755 "${tmp}" + chown root.admin "${tmp}" + mkdir -- "${dst}" || { rmdir -- "${tmp}" exit 1 |