RaiDrive CLI - Plex can't access folder mounted with permissions drwx------

I’m trying to mount a SharePoint drive on Ubuntu Linux via RaiDrive CLI. Upon mounting everything is viewable as root successfully, but even via the --public flag (similar to --allow-other on Rclone to my understanding), Plex cannot see or view any files under the mounted drive via RaiDrive. The folder that’s mounted has permissions drwx------ . I’d appreciate a solution, thanks.

Dear ny1601211.

Would you like to check the default directory mode of the settings?

raidrivecli set

default directory mode (e.g. rwxr-xr-x) (–directory-mode): rwxr-xr-x

raidrivecli set --directory-mode rwxrwxr-x

Please set it to the desired mode, then unmount and mount again to check.

If the problem persists, please compress the /var/log/raidrive folder and send it to support@raidrive.com.

Thank you.

Hi team! I have the same permissions problem.

I type the commands from the documentation and even the one you answered here, returns by default that the permissions of the directories and files will be correct, but when the drive is mounted the directory only has the permissions ‘drwx------’.

I ask you to be patient to explain step by step how to do it since it is not very clear how to use the commands ‘raidrivecli set’, should we do it before mounting? after mounting? I have even tried to force the permissions of the directories that are created using UMask=0022 but nothing happens, when the directory is mounted the directory permissions are lost.

Thanks team.

Hi, Gabyrex.

Basically, if you do not set --public when setting up a remote drive, it will be private mode and the attribute will be set to rwx------.
If you set it to --public, the folder attribute will be set to rwxr-xr-x by default.

You can change the default setting with the “raidrivecli set --directory-mode” command.
This command must be called before mounting.
ex:) raidrivecli set --directory-mode rwxr_xr_x

If the problem persists or you have other problems, please send an email to support@raidrive.com.

Thank you.

This topic was automatically closed after 30 days. New replies are no longer allowed.