LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 11-12-2015, 08:19 PM   #1
mdh524
LQ Newbie
 
Registered: Nov 2015
Distribution: Debian 8.2.0 i386
Posts: 2

Rep: Reputation: Disabled
Execute permission set but permission denied when unlocking IronKey


I have recently installed my first Linux system (Debian 8.2.0 i386 with LXDE) and I am having trouble unlocking my IronKey flash drive. When I insert the drive it is automatically mounted. The unlocker (ironkey) has execute permission set for anyone, but when I try to run it permission is denied. Please see the contents of the terminal below. What do I need to do differently to get it to run?


Code:
v@v:~$ cd /media/cdrom0/linux
v@v:/media/cdrom0/linux$ ls -l
total 826
-r-xr-xr-x 1 root root 818648 Oct 20  2011 ironkey
-r-xr-xr-x 1 root root  22344 Nov 10  2010 IronKey-TermsOfUse.txt
-r-xr-xr-x 1 root root   4081 Oct  6  2009 LINUX-README.txt
v@v:/media/cdrom0/linux$ sudo ./ironkey
[sudo] password for v: 
sudo: unable to execute ./ironkey: Permission denied
v@v:/media/cdrom0/linux$
 
Old 11-12-2015, 08:33 PM   #2
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,963

Rep: Reputation: Disabled
It may be mounted with noexec option.
 
1 members found this post helpful.
Old 11-12-2015, 09:36 PM   #3
mdh524
LQ Newbie
 
Registered: Nov 2015
Distribution: Debian 8.2.0 i386
Posts: 2

Original Poster
Rep: Reputation: Disabled
After looking into the automatic mounting process I learned about the fstab file. It had user as an option by default. Adding the exec option fixed the issue. Thanks for pointing me in the right direction!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
When execute Gcc , permission denied , why? kenneth2078 Linux - Software 3 03-03-2010 04:41 AM
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 04:50 AM
Cannot execute /bin/sh: Permission denied ItsJustLoco Slackware 8 10-09-2008 04:28 AM
cannot execute bash: permission denied flipwhy Linux - Newbie 11 11-12-2007 10:49 AM
Permission denied to execute anything under /home ErrorBound Linux - Software 8 07-26-2006 09:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration