X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/cd701a7b2beb7bf3e60047c65c8445df12e30d09..b132a9721b0c0bc21158e5d33445e0bf700f97b0:/Library/move.sh diff --git a/Library/move.sh b/Library/move.sh index c0fc10cd..98d9986f 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