Permission problems again! (Solved).

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
Wompoo
Level 5
Level 5
Posts: 961
Joined: Sat Dec 28, 2013 2:42 am

Permission problems again! (Solved).

Post by Wompoo » Sun Nov 10, 2019 10:25 pm

I am trying to load basic transmitter information into a program called "OpenTX Companion 2.2.3".
I received this permission denied notification.
Is this a Linux problem? ( I think it is, but not sure).
If so, what do I have to do to get this functional. It is my computer and my software, so I figure I should have read and write permissions.
Or is it the application?

I will attach a screenshot of the notification when I start up the computer concerned.

Edit: Please see attachment.

Jim.
Attachments
Permission denied.png
Last edited by Wompoo on Mon Nov 11, 2019 6:08 am, edited 1 time in total.
Desktop PC #2
Linux Mint 19 KDE desktop (64-bit), Asus
CPU E7500, 8 Gb RAM


Desktop #1
Dell Vostro 220 64 bit.
Linux Mint 17.3 Rosa KDE

Dell Inspiron 6000 laptop

User avatar
phd21
Level 19
Level 19
Posts: 9428
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Permission problems again!

Post by phd21 » Mon Nov 11, 2019 12:30 am

Hi Jim (Wompoo),

Try this command below. FYI: Some developers recommend installing their software to the root folder "/opt" so that all users can use it, but if you are having permission problems you can install the software and run it in your Home folder as well with your current user account. You can also copy the software's folders and files from the "/opt" folder to a folder in your Home folder and run it from there.

Code: Select all

sudo chmod 750 /opt/opentx-x9d+.bin
chmod Lets You Change Read and Write Permissions in Linux
https://www.linode.com/docs/tools-refer ... ith-chmod/

Chmod Command in Linux (File Permissions)
https://linuxize.com/post/chmod-command-in-linux/

Also, if you want to save files to any root folder like "/opt", you must do so with root (sudo) permission or open your file manager or the application as a root user.

Perhaps something like this to run this application as root user:

Code: Select all

sudo /opt/opentx-x9d+.bin
Hope this helps ...
Last edited by phd21 on Mon Nov 11, 2019 12:52 am, edited 6 times in total.
Phd21: Mint KDE 18.3 & 19, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

deepakdeshp
Level 16
Level 16
Posts: 6067
Joined: Sun Aug 09, 2015 10:00 am

Re: Permission problems again!

Post by deepakdeshp » Mon Nov 11, 2019 12:33 am

Saving in opt requires admin privileges.
viewtopic.php?t=287579
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
Regards,
Deepak

I am using Mint 19.2 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB

User avatar
pbear
Level 8
Level 8
Posts: 2424
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: Permission problems again!

Post by pbear » Mon Nov 11, 2019 1:12 am

FYI, Jim, it's easy to work with files using admin privileges. Open File Manager. Right-click somewhere blank, i.e., not a file. Select Open as Administrator. Will ask for your password. Do whatever you need to do, then close the admin session of File Manager. You don't want to use File Manager with admin privileges all the time, as you might accidentally move or delete something important.
Time flies like an arrow. Fruit flies like a banana.
If your problem has been solved, please edit the thread title.

Wompoo
Level 5
Level 5
Posts: 961
Joined: Sat Dec 28, 2013 2:42 am

Re: Permission problems again!

Post by Wompoo » Mon Nov 11, 2019 6:08 am

Thanks for the replies phd21, deepak and pbear.

I appears that my mistake in the first place was to choose opt as a place to save the file. I won't be doing that in the future.
I saved the file in another home page folder and the problem did not occur again.
I'll mark this thread as solved.

Jim.
Desktop PC #2
Linux Mint 19 KDE desktop (64-bit), Asus
CPU E7500, 8 Gb RAM


Desktop #1
Dell Vostro 220 64 bit.
Linux Mint 17.3 Rosa KDE

Dell Inspiron 6000 laptop

User avatar
phd21
Level 19
Level 19
Posts: 9428
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Permission problems again!

Post by phd21 » Mon Nov 11, 2019 11:13 am

Hi Wompoo,

You are welcome from all of us that replied...

As I already mentioned, there is nothing wrong with installing some software into a root folder like "/opt" which all user accounts would be able to use, although most people only have one user account, but that can cause permission issues requiring setting various permissions.
Phd21: Mint KDE 18.3 & 19, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

Post Reply

Return to “Software & Applications”