Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I installed a program that works in conjunction with another program.
To cut a long story short i installed one program with one account and the other on a different account, both programs work but i am having permission issues when trying to use an app within one of the programs.
What do i need to do to take full control of both programs? I have managed to gain access(permission) to both install folders but i assume they are still in different groups? so i still don't have full control of both programs?
I have tried following what i found on google but one of the programs would stop working every time i tried to change the group settings, so i must be missing something.
what where they and how did you install them? I do find it hard to think it was done by anything other then Root User rights. but nonetheless details are needed.
what where they and how did you install them? I do find it hard to think it was done by anything other then Root User rights. but nonetheless details are needed.
Hi, that was fast!!
I did say i was confused!!
There is only one program i need to take full control of, the program is plex and i stupidly set up a new account (with sudo su) called plex and installed it under that account, now i want to have full access on my most used user account.
There is only one program i need to take full control of, the program is plex and i stupidly set up a new account (with sudo su) called plex and installed it under that account, now i want to have full access on my most used user account.
uninstall it then don't do that again. install it by the proper means. simple fix.. have a nice day.
then again well su to root then install a pkg reguardless of what user name is should not lock down the app to only that user account you were in when you installed it.
Thank you for the suggestion but whilst it is a simple fix it isn't what i asked for..
well sometimes simple fixes is what people get. I am sorry that you cannot deal with a simple fix therefore it seems that you want to be challenged so please go back and read my post again I modded it while you where posting yours.
well sometimes simple fixes is what people get. I am sorry that you cannot deal with a simple fix therefore it seems that you want to be challenged so please go back and read my post again I modded it while you where posting yours.
I'm slightly confused as well as bemused by your replies but ill thank you all the same..
I have no wish to get into whatever this is, so i will ask once then I'm out..
Is this secret knowledge that shouldn't be passed on? please explain your reply..
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.
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.
I have tried following what i found on google but one of the programs would stop working every time i tried to change the group settings, so i must be missing something.
it would be really nice yo know WHAT didn't work (what you did exactly).
or maybe not; you most probably need to adjust group permissions.
so for a directory tree that you want to have group permissions identical to user permissions, something like
Code:
chmod -R g=u .
(notice the dot at the end. execute this from the directory tree's root)
then you have to make sure that both users are in the same group.
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,363
Rep:
Hi Bassit,
I hope I'm not muddying the waters here any more than they already may seem to you, but, notwithstanding the assistance already offered by other members here, my comments and questions are:
- It is unusual in linux to install a program/application other than with the root account, either directly while logged in as root or through the su (for temporarily becoming root, not some other account) or sudo (execute a specific command as root) commands.
- One of the reasons for this is that most packages expect that the user account being used to install has all of the appropriate permissions for the file systems required. This invariably boils down to using root.
- The fact that you installed something using an account other than root might be part of the problem for the reasons mentioned above (ex. missing parts of the application not installed due to insufficient premissions ...).
- Also, more details would be useful. How exactly did you install the applications ? Using your distro's package management system ? Manually ? What are (besides plex) the applications and how do they depend on each other ?
- It is unusual in linux to install a program/application other than with the root account, either directly while logged in as root or through the su (for temporarily becoming root, not some other account) or sudo (execute a specific command as root) commands.
it is not unusual for server-based applications.
plex is a media server and falls into that category. haven't checked but i'm pretty sure they have instructions on how to set it up that involves extracting an archive in your $HOME somewhere, and no root privileges.
but i agree on all other points; esp. that ominous other application...
I think ill start with an apology for my confusing post and complete lack of information.
I did say i was confused and i got it completely wrong, there is no other program working alongside plex, it runs alongside a totally different program, again my apologies...
I should also mention my terrible memory and the install was about 1 month ago.
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.
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??
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 do have full access to linux and was given a root logon although it has never worked and the only thing i have ever known about linux is to be very careful using root as login so i wasn't too bothered as it would only get me into trouble.
I think ill start with an apology for my confusing post and complete lack of information.
I did say i was confused and i got it completely wrong, there is no other program working alongside plex, it runs alongside a totally different program, again my apologies...
Don't sweat it on my account, I've still had them moments of, how do I form this question so others will understand what I am trying to say? then work out the question as I type. even at times I look at it after I've posted it and even I get confused by it. so I got a edit it, again and again. read it looks ok post it read it again then find mistakes in it then have to edit it again. mean while someone is reading it. too late that extra information I just added or typo or badly formed sentence I just tried to fix got missed.
not knowing all of the jargon for everything doesn't help either.
a little hint to save your fingers.
change this
Code:
cd ~
to this
cd
Just using cd enter takes you back to the logged in users home directory automatically. exception, Logged in as
Code:
su -
password
pwd
/root
exit
pwd
/home/user
gets automatically sent back to user account
Code:
su
password
pwd
/home/user
cd
pwd
/root
exit
pwd
/home/user
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.