phew, still very confusing.
Quote:
Originally Posted by Bassit
Ill try to go back and give an idea of how plex was installed originally - my aim is to either get plex back to its original permissions or to hand all permissions to my main user account (in a usable way), but i don't think that works too well tbh.
The instructions i followed:
Plex install...
cd ~
wget https://downloads.plex.tv/plex-media...4a8d_amd64.deb
sudo dpkg -i plexmediaserver_1.1.3.2700-6f64a8d_amd64.deb
|
so is this how plex is currently set up?
that's a normal superuser install, contrary to what i said previously.
Quote:
Then set Plex up with a user
sudo su
passwd plex (i used a different password)
adduser plex sudo
give it a home directory
sudo mkdir /home/plex/
sudo chown plex /home/plex/
|
i suppose you got that from plex's own installation instructions?
it is common to run security sensitive (server) applications with restricted privileges, e.g. creating its own user and running as that user with its own home directory structure.
Quote:
Although i don't think i followed the last command as i cant find the dir home/plex, i haven't logged on as plex and i'm not sure if i would need to to see this dir??
|
did you try with sudo? can you see it then?
i.e.
Code:
sudo ls -al /home/plex
again, i suspect group permissions will solve your problem (see my previous posts).
like, your normal user and the plex user should belong to the same main group, files are owned either by bassit:users or plex:users (see 'ls -al' output to see what i'm talking about).
Quote:
I have tried/succeeded to take/gain permission to my main user account, i wanted access to a folder within plex to place a folder to use a feature of plex, i can do without this if need be.
At the moment plex is owned by my main user account (which i have added to the plex group) and not all features are working correctly.
I should of checked the permissions of plex before changing owners because now i am not too sure what permissions i need to give back to plex.
|
i'm sorry but you lost me there.
sounds like you have to re-install plex one more time, this time following the instructions to the dot?
Quote:
I do have full access to linux and was given a root logon although it has never worked
|
differs from distro to distro - ubuntu disables the root user, but allows you (normal user) to gain superuser privileges with your user password.
debian doesn't even install sudo by default, but you can use 'su' (although i'm not sure which password is used for that - the root account's or the user's).