Rclone, mounting and samba

Hi, sorry I’ve been away for a while.

I’ve lost the config I’m afraid, I just did this on a disposable VM. I can tell you I try to use as few configuration options in smb.conf as possible, something like this:

[share]
path = /path/to/share
writable = yes
valid users = username

That’s it - don’t set every possible variable the way everyone on the internet tell you to.

Try and do the following:

  • set permissions on the folder you mount on to what they need to be
  • mount your rclone provider/folder
  • do an ls -l on your mount point and see what the permissions look like now

If they have changed after the mount you can try one (or both :-\ ) of two things

  1. set the directory mask as an rclone argument (see rclone help for options and syntax)
  2. set the mask in smb.conf (see example below)

[share]
path = /path/to/share
writable = yes
valid users = username
force group = group
directory mask = 0770

Sorry I can’t remember what I did as it was a while ago, but see if that helps.