so have plex running on a synology NAS with DSM 7. I want plex to also index folders on another NAS. On my synology - I created mount points and if I log in with ssh - even as the plex user - I can go into them and see files and directories etc - but when I browse for media files in plex - it can see the mount directories but can’t see anything in them?!
In unix you can always su to another user. Plex is set with a no login shell in /etc/passwd - but su -s overrides that - so you can always “login” with any user, regardless of permissions and without password, if you have root access.
As for the mount - as mentioned - the mount works perfectly - and if I su with the plex user - I can see every file and subdirectory and access them. It’s just that plex itself is not finding them.
I did the custom permissions thing - gave the flex user every access I could - didn’t change anything
Synology looks and feels like Linux but that’s where it stops.
Applications have been customized to work within the Synology ecosystem.
Whatever you used to do in DSM 6 and prior, won’t work in DSM 7. I’ve tried.
As example:
Applications are locked into a UID/GID which is inaccessible from the API except when granting applications permission to read/write to shared folders.
Applications must present all the resources they will need when installing. DSM configures the “sandbox” for it. DSM performs the installation. Traditional post-install , etc scripts run as the target UID/GID not root. “root” permission is inaccessible.
Per your issue.
Please keep your Autocorrect under control? “Plex”, not “flex”.
DSM 7 is difficult enough to navigate.
Get out of and stay out of the root shell for now. Muscling it will break it. It’s not forgiving in the slightest.
On the local NAS, permissions are to be granted to System Internal User “PlexMediaServer” (the name of the application)
From the remote NAS, you set shared folder permissions to “everyone” and “apply to this folder, sub-folders, and files”. Applying to the “Users” group will not work because “PlexMediaServer” is not member of any group other than its own ( PlexMediaServer:PlexMediaServer). This was not by choice.