]> git.saurik.com Git - cydia.git/blobdiff - Library/move.sh
Fix permissions of _.* containers on new stashes.
[cydia.git] / Library / move.sh
index c0fc10cda47dad23990b8c57c6d5c19907156a13..98d9986f6a51bf6914691f32ffc608cc7a548bef 100755 (executable)
@@ -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