(Unraid) Rclone wont let me write to any of my folders

That log looks pretty normal as allow-other seems to be working as I don't see any errors in there.

You have both cache modes specified in there:

"--vfs-cache-mode" "full" "--vfs-cache-mode" "writes"

You'd want to remove writes I'd imagine.

Can you explain how it's shared? Looks like that is where the issue lies.

It is shared through my unraid share folder:
mnt/user/rclone/PlexUnion/

owner: nobody Permission: drwxrwxrwx

Add:

--umask 000

Once you remove the extra writes.

Restart and test and show the permissions on the folder.

felix@gemini:~$ ls -al | grep test
drwxrwxrwx 1 felix felix     0 Nov  7 22:12 test

where do i add --umask 000

#!/bin/bash

echo "Removing any existing mount..."
/bin/fusermount -uz /mnt/user/rclone/PlexUnion
sleep 1
echo "Mounting PlexUnion"

rclone mount PlexUnion: /mnt/user/rclone/PlexUnion
--config=/boot/config/plugins/rclone/.rclone.conf
--log-file=/mnt/user/scripts/rclone_mount.log
--log-level=DEBUG
--allow-other
--dir-cache-time 30s
--poll-interval 15s
--cache-dir=/mnt/user/rclone/cache
--vfs-cache-mode full
--vfs-cache-max-size 400G
--vfs-read-ahead 64M
--vfs-cache-max-age 1000h

At the end I'd imagine as it really doesn't matter as it's part of the mount command.

here is the logs : https://drive.google.com/file/d/1UpzWN2V7Shd693VcVn7hWJ7C-JC-PwfI/view?usp=sharing

Doesn't seem to be there:

2022/11/07 19:42:37 DEBUG : rclone: Version "v1.60.0" starting with parameters ["rcloneorig" "--config" "/boot/config/plugins/rclone/.rclone.conf" "mount" "PlexUnion:" "/mnt/user/rclone/PlexUnion" "--config=/boot/config/plugins/rclone/.rclone.conf" "--log-file=/mnt/user/scripts/rclone_mount.log" "--log-level=DEBUG" "--allow-other" "--dir-cache-time" "30s" "--poll-interval" "15s" "--cache-dir=/mnt/user/rclone/cache" "--vfs-cache-mode" "full" "--vfs-cache-max-size" "400G" "--vfs-read-ahead" "64M" "--vfs-cache-max-age" "1000h"]

If you can clear the log out, that would be great as well.

You have to restart the mount once you make changes.

This should be it: https://drive.google.com/file/d/11FyIe12iqrtBpXS5A-YRJwj6GgDONSVr/view?usp=sharing

Still not there:

2022/11/07 20:23:04 DEBUG : rclone: Version "v1.60.0" starting with parameters ["rcloneorig" "--config" "/boot/config/plugins/rclone/.rclone.conf" "mount" "PlexUnion:" "/mnt/user/rclone/PlexUnion" "--config=/boot/config/plugins/rclone/.rclone.conf" "--log-file=/mnt/user/scripts/rclone_mount.log" "--log-level=DEBUG" "--allow-other" "--dir-cache-time" "30s" "--poll-interval" "15s" "--cache-dir=/mnt/user/rclone/cache" "--vfs-cache-mode" "full" "--vfs-cache-max-size" "400G" "--vfs-read-ahead" "64M" "--vfs-cache-max-age" "1000h"]

I have it set right here and I restarted my unraid server to clear out everything. That's the log from adding the
--umask 000

#!/bin/bash

echo "Removing any existing mount..."
/bin/fusermount -uz /mnt/user/rclone/PlexUnion
sleep 1
echo "Mounting PlexUnion"

rclone mount PlexUnion: /mnt/user/rclone/PlexUnion
--config=/boot/config/plugins/rclone/.rclone.conf
--log-file=/mnt/user/scripts/rclone_mount.log
--log-level=DEBUG
--allow-other
--dir-cache-time 30s
--poll-interval 15s
--cache-dir=/mnt/user/rclone/cache
--vfs-cache-mode full
--vfs-cache-max-size 400G
--vfs-read-ahead 64M
--vfs-cache-max-age 1000h
--umask 000

You'd want to paste the exact script in a code block.

That means you put 3 backtics before and after something -> `

like

this

and paste is in the text between the code blocks.

Like this as code block


echo "Removing any existing mount..."
/bin/fusermount -uz /mnt/user/rclone/PlexUnion
sleep 1
echo "Mounting PlexUnion"

rclone mount PlexUnion: /mnt/user/rclone/PlexUnion \
--config=/boot/config/plugins/rclone/.rclone.conf \
--log-file=/mnt/user/scripts/rclone_mount.log \
--log-level=DEBUG \
--allow-other \
--dir-cache-time 30s \
--poll-interval 15s \
--cache-dir=/mnt/user/rclone/cache \
--vfs-cache-mode full \
--vfs-cache-max-size 400G \
--vfs-read-ahead 64M \
--vfs-cache-max-age 1000h
--umask 000```

You need to a space and backslash to the 1000h line as you added a new line to end.

--vfs-read-ahead 64M \
--vfs-cache-max-age 1000h \
--umask 000

echo "Removing any existing mount..."
/bin/fusermount -uz /mnt/user/rclone/PlexUnion
sleep 1
echo "Mounting PlexUnion"

rclone mount PlexUnion: /mnt/user/rclone/PlexUnion \
--config=/boot/config/plugins/rclone/.rclone.conf \
--log-file=/mnt/user/scripts/rclone_mount.log \
--log-level=DEBUG \
--allow-other \
--dir-cache-time 30s \
--poll-interval 15s \
--cache-dir=/mnt/user/rclone/cache \
--vfs-cache-mode full \
--vfs-cache-max-size 400G \
--vfs-read-ahead 64M \
--vfs-cache-max-age 1000h \
--umask 000

logs: https://drive.google.com/file/d/1h911MrJ-mSL5wX1v7VryNyeH12L1eEQ4/view?usp=share_link

The umask looks good now in the log so let's do this part now.

this should be right now: https://drive.google.com/file/d/1d2sJxEbSTuxgb9ZNMRSq9cphSFfCSX-1/view?usp=share_link

I'm not sure what that log is?

Can you please do:

I removed the write and deleted the logs for a fresh new one. That was a brand new logs. Did I do something wrong. I just ran the script and uploaded the logs?

--config=/boot/config/plugins/rclone/.rclone.conf \
--log-file=/mnt/user/scripts/rclone_mount.log \
--log-level=DEBUG \
--allow-other \
--dir-cache-time 30s \
--poll-interval 15s \
--cache-dir=/mnt/user/rclone/cache \
--vfs-cache-mode full \
--vfs-cache-max-size 400G \
--vfs-read-ahead 64M \
--vfs-cache-max-age 1000h \
--umask 000

Do I run it by itself as I have run it with my full script twice with the same results?