LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-04-2017, 12:31 PM   #16
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053

phew, still very confusing.
Quote:
Originally Posted by Bassit View Post
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).
 
1 members found this post helpful.
Old 04-04-2017, 01:04 PM   #17
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by ondoho View Post
phew, still very confusing.
One could just install it themselves then report back in here to him to give him even more step by step instructions.

I do not have a deb system soooo I'd have to use source code I assume and being a deb one would think, at lease I do, that it'd set itself up in the system and I just checked I didn't see any source code tarballs to download.

Last edited by BW-userx; 04-04-2017 at 01:15 PM.
 
Old 04-04-2017, 01:20 PM   #18
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
@Bassit

where are you getting these instructions that state one has to create a user name of the software and what not?

it to me looks a little bit like webadmin where one installs it then in order to get to it one has to open a web browser to configure it and such. whereas this says it has its own client software to do that for other devices.
Code:
Ubuntu


    Download the .deb package

    run sudo dpkg -i plexmediaserver_0.9.8.18.290-11b7fdd_amd64.deb (replacing the last filename with
 the name of the package you downloaded)

To setup Plex Media Server, on the same machine you installed the server on, open a browser window,
 and go to http://127.0.0.1:32400/web.
Code:
Opening the Plex Web App on a Device Other than the Server Itself
On the Same Local Network

To open Plex Web App from a different device than the server computer while still on the same network:

    Open a browser window
    Type http://server.local.ip.address:32400/web into the address bar (e.g "http://192.168.1.5:32400/web")
    The browser will connect to the server and load Plex Web App

Last edited by BW-userx; 04-04-2017 at 01:22 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
taking ownership of a tty/process Frustin Linux - General 1 04-11-2012 10:48 AM
[SOLVED] Change folder ownership in Fedora 12 nortonz Linux - Server 4 07-04-2010 11:33 AM
Users saving but not taking ownership deadtech Other *NIX 4 12-06-2005 10:49 AM
root keeps taking ownership of ~/.Xauthority devfreak Fedora 3 04-07-2005 10:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration