Hello,
I use the script with the tags --uid 99 --gid 100 unfortunately the directories never get the right permissions;
# create rclone mount
rclone mount \
$Command1 $Command2 $Command3 $Command4 $Command5 $Command6 $Command7 $Command8 \
--allow-other \
--umask 002 \
--uid 99 \
--gid 100 \
--dir-cache-time $RcloneMountDirCacheTime \
--attr-timeout $RcloneMountDirCacheTime \
--log-level INFO \
--poll-interval 10s \
--cache-dir=$RcloneCacheShare/cache/$RcloneRemoteName \
--drive-pacer-min-sleep 10ms \
--drive-pacer-burst 1000 \
--vfs-cache-mode full \
--vfs-cache-max-size $RcloneCacheMaxSize \
--vfs-cache-max-age $RcloneCacheMaxAge \
--vfs-read-ahead 1G \
--bind=$RCloneMountIP \
$RcloneRemoteName: $RcloneMountLocation &
I also used this script which works but it is not the right solution because the upload script delete the directory and when they are recreated they are in root
#!/bin/sh
for dir in "/mnt/user/Local"
do echo $dir
chmod -R ug+rw,ug+X,o-rwx $dir
chown -R nobody:users $dir
done
does anyone know why the "rclone mount" doesn't have the correct permissions?