Linux: Program is not executed - Permission denied
Question by Guest | 2018-01-21 at 21:59
I got a Linux application from a colleague. I saved it on my desktop and double-clicked the icon to run it. But it happened - unfortunately - nothing.
Then, I tried it using the command line with "./ProgramName". But there, I always get only the error message: "Permission Denied", which probably means access denied.
What can I do to get the program running?
Related Topics
Linux: Mark Program File as executable
Tutorial | 0 Comments
Release of Debian Packages, RPM Packages and Binaries for Linux
Blog | 0 Comments
Android SDK Manager: Problem with installing packages "File not Found (Access is denied) Done. Nothing was installed"
Question | 4 Answers
Windows: How to run a Program as Administrator - Once, Always or with Shortcut
Tutorial | 0 Comments
Linux Error: Could not open lock file - Permission denied
Question | 2 Answers
Delphi: Event Order of a Form - From OnCreate to OnDestroy
Info | 1 Comment
Lazarus Application not running on Linux
Question | 2 Answers
Important Note
Please note: The contributions published on askingbox.com are contributions of users and should not substitute professional advice. They are not verified by independents and do not necessarily reflect the opinion of askingbox.com. Learn more.
Participate
Ask your own question or write your own article on askingbox.com. That’s how it’s done.
The file must be marked as executable. Otherwise, Linux does not know what to do with the file.
For this, you go into the folder in which the program is located with the terminal and execute the following command:
Then you have to enter your password and the program should be executable.
Apart from that, you can also go via the properties dialog of the file (right click the file) and check the corresponding option therein.
Learn more about how to mark a program as executable and what chmod + x means.
Last update on 2022-11-19 | Created on 2018-01-22