Option dir-perms and file-perms doesnt work correct


I am using rclone 1.52 on a raspberryPi 4 with raspian buster.
I want to mount Gdrives in the file-system of raspian. So I discovered rclone.
I also used your doc how to connect to a Gdrive.

I am Using the following command to mount a GoogleDrive in the filesystem of raspian:

rclone mount remote: /mnt/testfolder --config /home/testuser/.config/rclone/rclone.conf --allow-other --allow-non-empty --uid 1002 --gid 1005 --dir-perms 0770 --file-perms 0770

1002 = UserID TestUser
1005 = GroupID Group Testgroup

With dir-pers and file-perms 0770 i expected the following rights on all mounted files and directories
But all files and directories are shown:
--> They do not got the right to write.

I also testet Version 1.50 and the latest beta of rclone --> the same behaviour.

What can I do?


1 Like

You'd want to use umask to set that.

--umask 002

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.