Permissions problems with Plex on Linux on mounting google-drive-ocamlfuse directory

Help me please…

Currently i’m trying to get access to a folder mounted by google-drive-ocamlfuse without good results.

I tried:

sudo mkdir -p /mnt/data/plexgoogledrive/
sudo chown -R my_user.my_user /mnt/data/plexgoogledrive/
sudo find /mnt/data/plexgoogledrive/ -type d -exec chmod 755 {} \;

But alwasy getting same errors:

find: ‘/mnt/data/plexgoogledrive/’: permission denied
hown: no se puede acceder a ‘/mnt/data/plexgoogledrive/’: permission denied

And can’t getting access to that folder on plex either:

Thanks!

That’s an rclone problem.
Check the logs to make sure the access is correct and it’s not being throttled (error 429)

Hi, thanks. Here are the logs from: /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Logs/Plex\ Media\ Server.log

Any idea how to fix them?

there it is:

Jun 06, 2020 18:52:04.980 [0x7f3387fff700] ERROR - Couldn't check for the existence of file "/mnt/data/plexgoogledrive": boost::filesystem::status: Permission denied: "/mnt/data/plexgoogledrive

check each directory down that path. Given you can’t check as user plex, check the “other” permissions are 755 on dir and 644 on files.

Check the permissions before and after mounting.

please, can you give me the commands to make that checking? i’m noob on linux.

usermod -a -G your_username plex

This will add the user Plex to your user group. After that, logout and login again

Adding Plex to your group requires a restart of Plex - not logging in & out.

It needs to gain the new group access list.

I just run this commands:

sudo usermod -a -G miguel plex

sudo service plexmediaserver start
sudo service plexmediaserver stop
sudo service plexmediaserver restart

But still can’t access… help me please!

Did you restart you machine just to make sure?

I don’t know if the user plex has a bash but, try the commands bellow:

su - plex
ls -l /mnt/data/plexgoogledrive

Could you list your files?

sure i restart my machine. nothing works.

running -> su - plex getting su: Authentication failure

help

Are you using the Plex package installed from the Ubuntu store or which was downloaded from Plex.tv/downloads ?

I don’t use ocamlfuse.

But it might be worth checking that you have the allow other flag set in /etc/fuse.conf. This is my file from my linux box

# /etc/fuse.conf - Configuration file for Filesystem in Userspace (FUSE)

# Set the maximum number of FUSE mounts allowed to non-root users.
# The default is 1000.
#mount_max = 1000

# Allow non-root users to specify the allow_other or allow_root mount options.
user_allow_other