PDA

View Full Version : Permission denied



Frosh
27th September 2009, 06:40
When I try to run the qt tutorials from tuxradar.com, I get a permission error.

http://img195.imageshack.us/img195/8922/screenshoths.png

I can run the program from command line, just not from the Qt Creator, is there a setting in the program that I can change to fix this?

lyuts
29th September 2009, 14:48
Check the permissions on the executable you are trying to run.

Frosh
1st October 2009, 01:09
I am log in as root, I shouldn't encounter permission issues...
It has to be a setting somewhere...

lyuts
1st October 2009, 06:46
Well, I'm not sure you will be able to run any application that has no 'execution' flag set on it (even as root). Here's a proof:



root@atnt/home/myuser/workspace# ls -l mk_cache_fs
-rw-r--r-- 1 myuser users 1271 2009-09-29 13:16 mk_cache_fs
root@atnt/home/myuser/workspace# ./mk_cache_fs
./mk_cache_fs: Permission denied.