Synology dsm5

Fixing DSM 5 install compatibility and permissions issue when reinstalling plex.