summaryrefslogtreecommitdiff
path: root/Library/move.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Library/move.sh')
-rwxr-xr-xLibrary/move.sh3
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