Plex user resets every time there is a Synology update.

Every time there is a Plex update it seems to reset the user permissions back to admin for the Plex directory, Well admin is disabled as per best practices. Please fix this so the Plex users stays active for the Plex directory, This is monotonous and getting old.

Thank you,

Yes I do reset the permissions with each update. There is nothing to ‘fix’

The Plex share reverts to admin,plex because there is no normal reason for any user to be in the Plex share.
It is created as a share because I needed a bigger space than is afforded in the root directory and I needed it to persist if the package is uninstalled.

The choices were:

  1. Create a hidden directory on /volume1
  2. Create a share on /volume1

Given the occasional need to manually extract logs (when PMS completely fails to start after some catastrophic failure), I decided to make the share browsable but still read-only.

Thanks for the quick response, What I am trying to tell you is the “Plex” user is removed from the “Plex share” every time. I understand there is no need for any other user to be included, The only user “admin” that sticks for the Plex share is disabled so it serves no purpose. The safest thing to do is not reset our privileges in the first place.

Ray,
In postinst, you will find

# Set rights on Plex share
synoshare --setuser Plex RW = plex,admin

I’m sorry, but I’m not going to move away from the “there is no user need to be reading/writing in the Plex share”.

As part of the “Synology best practices” , they do tell you to setup an alternative username with administrator privilege.

I am sorry not sure if I am miss understanding you or you miss understanding me. According to my understanding from you you say you tag the "Plex user as well as the admin user, Correct? What I am trying to tell you is the “Plex User” is removed after the updates, The only user tagged for access to the Plex share is my disabled admin. Do you understand what I am saying?

Thanks

Ray,
I"m wondering that too.

So there is no confusion, You’re referring to the GUI display?

I see that as well since the latest DSM update. It’s a Synology bug. I’ve reported it. Please feel free to report it as well.
You see from the code user plex has rw permission. Without it, Plex won’t run so. Simply stated, “The DSM GUI lies (again)” <shrug>

Yes I am taking about the GUI when looking at the Plex share-> permissions, No access for any user other then my disabled admin user. Thanks for the laugh. OK then I guess I wont worry about it if the GUI is just miss-reporting it.

Thanks

Ray,
To verify yourself (I also invite you to double check me too), go into the shell and synoshare --get Plex. Review the results .

Talk about a bug! :smiley:

sh-4.3# synoshare --get Plex
SYNOSHARE data dump:
	 Name .......[Plex]
	 Comment ....[Plex Media Library]
	 Path .......[/volume1/Plex]
	 Deny list ..[]
	 RW list ....[]
	 RO list ....[]
	 fType ......[2]
	 fBrowseable [yes]
	 FTPPrivilege[0]
	 Status .....[0x1880]
	 WinShare .....[yes]
	 ACL ..........[yes]
	 Skip smb perm.[yes]
	 Permit .......[yes]
	 RecycleBin....[no]
	 RecycleBinAdminOnly....[no]
	 HideUnreadable ........[no]
	 Snapshot browsing .....[no]
sh-4.3# synoshare --setuser Plex RW = plex,admin
SYNOSHARE data dump:
	 Name .......[Plex]
	 Comment ....[Plex Media Library]
	 Path .......[/volume1/Plex]
	 Deny list ..[]
	 RW list ....[]
	 RO list ....[]
	 fType ......[2]
	 fBrowseable [yes]
	 FTPPrivilege[0]
	 Status .....[0x1880]
	 WinShare .....[yes]
	 ACL ..........[yes]
	 Skip smb perm.[yes]
	 Permit .......[yes]
	 RecycleBin....[no]
	 RecycleBinAdminOnly....[no]
	 HideUnreadable ........[no]
	 Snapshot browsing .....[no]
SYNOSHARE ACL Perm List:
	 Name ............[Plex]
	 ACL RO List .....[]
	 ACL RW List .....[plex,admin]
	 ACL NA List .....[]
	 ACL Custom List .[]
sh-4.3# synoshare --get plex
SYNOSHARE data dump:
	 Name .......[Plex]
	 Comment ....[Plex Media Library]
	 Path .......[/volume1/Plex]
	 Deny list ..[]
	 RW list ....[]
	 RO list ....[]
	 fType ......[2]
	 fBrowseable [yes]
	 FTPPrivilege[0]
	 Status .....[0x1880]
	 WinShare .....[yes]
	 ACL ..........[yes]
	 Skip smb perm.[yes]
	 Permit .......[yes]
	 RecycleBin....[no]
	 RecycleBinAdminOnly....[no]
	 HideUnreadable ........[no]
	 Snapshot browsing .....[no]
sh-4.3#

You can see the perms are not showing up in the --get results. This is the bug

Sorry I am allergic to shell or anything linux without a GUI I stay clear, I will just take your word for it. Thanks for the invite and info but I will pass. On closing is everything OK or do I need to reactivate the Plex user myself after every update? Just wan’t to make sure it does not cause problems…