diff --git a/try b/try index 49525e74..50e35d1e 100755 --- a/try +++ b/try @@ -73,6 +73,7 @@ try() { ## Only make the directory if the original is a directory too if [ -d "$mountpoint" ] then + # shellcheck disable=SC2174 # warning acknowledged, "When used with -p, -m only applies to the deepest directory." mkdir -m "$(stat -c %a "$mountpoint")" -p "${SANDBOX_DIR}/upperdir/${mountpoint}" "${SANDBOX_DIR}/workdir/${mountpoint}" "${SANDBOX_DIR}/temproot/${mountpoint}" fi done <"$DIRS_AND_MOUNTS"