rclone mount via userscript makes the folder read-only for samba shares


Recommended Posts

I'm trying to mount an rclone volume via userscript. If I run rclone mount, I get this error in Windows when the volume is accessed via samba: "You require permission from TOWER\root to make changes..."

 

It works just fine if I run the rclone mount command via unraid terminal. It seems like the share is read-only if I run the script in userscript. Any idea what I'm missing here or if I'm doing something incorrectly?

 

fusermount -u -z /mnt/disks/Gdrive
sudo umount -l /mnt/disks/Gdrive
mkdir -p /mnt/disks/Gdrive
rclone mount Gdrive: /mnt/disks/Gdrive --allow-other --max-read-ahead 1024k
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.