diff options
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 |