From 2b60755274c36593904e31809d20133180df24ac Mon Sep 17 00:00:00 2001 From: Brian Zalewski <59970525+ProfessorManhattan@users.noreply.github.com> Date: Mon, 27 Nov 2023 23:04:02 +0000 Subject: [PATCH] rclone mount permission change --- home/dot_local/bin/executable_rclone-mount | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/dot_local/bin/executable_rclone-mount b/home/dot_local/bin/executable_rclone-mount index 7008f4e4..235ae031 100644 --- a/home/dot_local/bin/executable_rclone-mount +++ b/home/dot_local/bin/executable_rclone-mount @@ -42,7 +42,7 @@ fi ### Ensure folders exist for FOLDER in "$CACHE_FOLDER" "$CONFIG_FOLDER" "$LOG_FOLDER" "$MOUNT_PATH"; do if [ ! -d "$FOLDER" ]; then - sudo mkdir -p "$FOLDER" || echo "ERROR: Need permissions for $FOLDER" + mkdir -p "$FOLDER" || sudo mkdir -p "$FOLDER" sudo chmod 755 "$FOLDER" if command -v own > /dev/null; then sudo own "$FOLDER"