Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
09-23-2010, 09:04 PM
#1
LQ Newbie
Registered: Sep 2010
Location: Indonesia
Distribution: RedHat
Posts: 16
Rep:
I can't run CutyCapt on my Red Hat 12 Distro
Hi experts,
I had a CutyCapt package that i download from this
link
I follow the instruction on that's page to compile it, but when I try to run the program. It unsuccess. the message is 'permission denied'
this's what I done.
Quote:
[mardi@MTools CutyCapt]$ ls
CutyCapt CutyCapt.hpp CutyCapt.pro moc_CutyCapt.cpp
CutyCapt.cpp CutyCapt.o Makefile moc_CutyCapt.o
[mardi@MTools CutyCapt]$ ./CutyCapt --url=www.google.com --out=sample.bmp
bash: ./CutyCapt: Permission denied
[mardi@MTools CutyCapt]$
so, if there are of you had a solution, please tell me.
all your respond will be appreciate.
Regards,
Mardi V. Tamma
09-24-2010, 01:09 AM
#2
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359
Start by listing permissions & ownerships
ls -l
(lowercase L)
09-24-2010, 01:50 AM
#3
LQ Newbie
Registered: Sep 2010
Location: Indonesia
Distribution: RedHat
Posts: 16
Original Poster
Rep:
Thanks for the respond.
All the file is permitted for modify (rwx) for user, group and others.
here the display on my computer
Quote:
[mardi@MTools CutyCapt]$ ls -lah
total 1.5M
drwxrwxrwx 2 mardi mardi 16K 2010-09-22 15:05 .
drwxrwxrwx 22 mardi mardi 16K 2010-09-24 11:37 ..
-rwxrwxrwx 1 mardi mardi 554K 2010-09-22 15:05 CutyCapt
-rwxrwxrwx 1 mardi mardi 22K 2010-06-08 14:12 CutyCapt.cpp
-rwxrwxrwx 1 mardi mardi 2.0K 2010-06-08 14:12 CutyCapt.hpp
-rwxrwxrwx 1 mardi mardi 540K 2010-09-22 15:04 CutyCapt.o
-rwxrwxrwx 1 mardi mardi 225 2008-06-11 02:01 CutyCapt.pro
-rwxrwxrwx 1 mardi mardi 6.8K 2010-09-22 15:04 Makefile
-rwxrwxrwx 1 mardi mardi 4.0K 2010-09-22 15:04 moc_CutyCapt.cpp
-rwxrwxrwx 1 mardi mardi 275K 2010-09-22 15:05 moc_CutyCapt.o
[mardi@MTools CutyCapt]$ ./CutyCapt --url=www.google.com --out=sample.bmp
bash: ./CutyCapt: Permission denied
[mardi@MTools CutyCapt]$
Are there more suggestion?
09-24-2010, 02:04 AM
#4
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep:
Is the partition on which that directory resides mounted "noexec"?
09-24-2010, 02:46 AM
#5
LQ Newbie
Registered: Sep 2010
Location: Indonesia
Distribution: RedHat
Posts: 16
Original Poster
Rep:
Quote:
Originally Posted by
Nylex
Is the partition on which that directory resides mounted "noexec"?
Hi Nylex, I think you're right.
There're "noexec" rule on that parititon
here the mount information on my computer.
Quote:
/dev/sda7 on /media/data type vfat (rw,noexec,nosuid,nodev,uid=500,gid=500,umask=000)
and my file on that mount point which not allowed for execute binary file.
Quote:
[mardi@MTools CutyCapt]$ ls -lh
total 1.5M
-rwxrwxrwx 1 mardi mardi 554K 2010-09-22 15:05 CutyCapt
-rwxrwxrwx 1 mardi mardi 22K 2010-06-08 14:12 CutyCapt.cpp
-rwxrwxrwx 1 mardi mardi 2.0K 2010-06-08 14:12 CutyCapt.hpp
-rwxrwxrwx 1 mardi mardi 540K 2010-09-22 15:04 CutyCapt.o
-rwxrwxrwx 1 mardi mardi 225 2008-06-11 02:01 CutyCapt.pro
-rwxrwxrwx 1 mardi mardi 6.8K 2010-09-22 15:04 Makefile
-rwxrwxrwx 1 mardi mardi 4.0K 2010-09-22 15:04 moc_CutyCapt.cpp
-rwxrwxrwx 1 mardi mardi 275K 2010-09-22 15:05 moc_CutyCapt.o
[mardi@MTools CutyCapt]$ pwd
/media/data/Downloads/CutyCapt
[mardi@MTools CutyCapt]$
Anyway, Thank for the solutions. Wish all the best for you and all the LQ member.
Regards,
Mardi V. Tamma
Last edited by mardi; 09-24-2010 at 03:18 AM .
Reason: realize the problem.
09-24-2010, 03:09 AM
#6
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624
a question "Red Hat 12 Distro"
red hat 12 ???? there is no red hat 12
but as to the program +x it
or in Gnome r-click and select properties select the permisions tab and put a check in the execute
or
Code:
cd /media/data/Downloads/CutyCapt
-- that is where it is ??? --
chmod +x CutyCapt
./CutyCapt --url=www.google.com --out=sample.bmp
09-24-2010, 03:18 AM
#7
LQ Newbie
Registered: Sep 2010
Location: Indonesia
Distribution: RedHat
Posts: 16
Original Poster
Rep:
Quote:
Originally Posted by
John VV
a question "Red Hat 12 Distro"
red hat 12 ???? there is no red hat 12
sorry, my mistake. It's Fedora 12.
Thank you for point that.
the result from your code is
Code:
[mardi@MTools CutyCapt]$ ls -lh
total 1.5M
-rwxrwxrwx 1 mardi mardi 554K 2010-09-22 15:05 CutyCapt
-rwxrwxrwx 1 mardi mardi 22K 2010-06-08 14:12 CutyCapt.cpp
-rwxrwxrwx 1 mardi mardi 2.0K 2010-06-08 14:12 CutyCapt.hpp
-rwxrwxrwx 1 mardi mardi 540K 2010-09-22 15:04 CutyCapt.o
-rwxrwxrwx 1 mardi mardi 225 2008-06-11 02:01 CutyCapt.pro
-rwxrwxrwx 1 mardi mardi 6.8K 2010-09-22 15:04 Makefile
-rwxrwxrwx 1 mardi mardi 4.0K 2010-09-22 15:04 moc_CutyCapt.cpp
-rwxrwxrwx 1 mardi mardi 275K 2010-09-22 15:05 moc_CutyCapt.o
[mardi@MTools CutyCapt]$ chmod +x CutyCapt
[mardi@MTools CutyCapt]$ ./CutyCapt --url=ww.google.com --out=sample.bmp
bash: ./CutyCapt: Permission denied
[mardi@MTools CutyCapt]$
I think all the file had been permit for execute. but like Nylex suggest. The main problem is on the partition mount rule.
It solved now. anyway, Thank you for your attention.
Regards,
Mardi V. Tamma
Last edited by mardi; 09-24-2010 at 03:20 AM .
All times are GMT -5. The time now is 12:01 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News