LinuxQuestions.org
Have you heard the LinuxQuestions.org Podcast?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Tags used in this thread
Popular LQ Tags , ,

Reply
 
Thread Tools
Old 08-27-2009, 04:03 AM   #1
wakrein
Member
 
Registered: Aug 2009
Posts: 32
Thanked: 0
./configure: Permission denied on removable media


[Log in to get rid of this advertisement]
I have googled all about this issue, i have tried many things. I searched the forums and found many issues without a resolution. I cant seem to find a resolution.
I am trying to ./configure with an output of "Permission Denied"

D:is the loction of the program i want to ./configure
If i ls -l D: (D: my removable media) i get lrwxrwxrwx 1 root root 9 2009-08-26 18:55 D: -> /media/D:/
dont know if this is relevant but could help...maybe

Also when i su and ./configure i also get the same output of "Permission Denied"

I dont know what to do im at loss for options. Any help is appriciated.

Last edited by wakrein; 08-27-2009 at 04:10 AM.. Reason: Forgot to add somthing sorry
linux wakrein is offline  
Tag This Post , ,
Reply With Quote
Old 08-27-2009, 04:08 AM   #2
vishesh
Member
 
Registered: Feb 2008
Location: india
Distribution: Fedora,RHEL,Ubuntu
Posts: 262
Thanked: 24
What you want to configure? where configure script is located, be more clear .
what is output of mount command ?

thnks
windows_xp_2003 vishesh is offline     Reply With Quote
Old 08-27-2009, 04:14 AM   #3
wakrein
Member
 
Registered: Aug 2009
Posts: 32
Thanked: 0

Original Poster
Quote:
Originally Posted by vishesh View Post
What you want to configure? where configure script is located, be more clear .
what is output of mount command ?

thnks
I want to configure shed a hex editor
the script is located in /home/user/D:/shed-1.15
the output of the mount command is
Code:
rootfs on / type rootfs (rw)
/dev/sda1 on /.ro type ext2 (ro)
/dev/sda2 on /.rw type ext3 (rw,noatime,data=ordered)
none on / type aufs (rw,xino=/.rw/.aufs.xino,br:/.rw=rw:/.ro=ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
tmpfs on /dev/shm type tmpfs (rw)
tmpfs on /tmp type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sdb1 on /media/D: type vfat (rw,nosuid,nodev,noexec,fmask=0111,dmask=0000,codepage=cp850,iocharset=utf8,shortname=mixed)
/dev/sda1 on /ro type ext2 (ro)

Last edited by wakrein; 08-27-2009 at 04:14 AM.. Reason: TYPO
linux wakrein is offline     Reply With Quote
Old 08-27-2009, 04:18 AM   #4
colucix
Guru
 
Registered: Sep 2003
Location: Bologna, Italia
Distribution: OpenSUSE 11.1 CentOS 5.4 VectorLinux 6.0
Posts: 5,128
Thanked: 463
The noexec option of mount do not allow execution on the filesystem. Try to umount /dev/sdb1 and mount again using simply:
Code:
mount -t vfat /dev/sdb1 /media/D
then run ./configure again.
linuxsuse colucix is offline     Reply With Quote
Old 08-27-2009, 04:22 AM   #5
wakrein
Member
 
Registered: Aug 2009
Posts: 32
Thanked: 0

Original Poster
Quote:
Originally Posted by colucix View Post
The noexec option of mount do not allow execution on the filesystem. Try to umount /dev/sdb1 and mount again using simply:
Code:
mount -t vfat /dev/sdb1 /media/D
then run ./configure again.
mount -t vfat /dev/sdb1 media/D:

output: mount: mount point media/D does not exist
linux wakrein is offline     Reply With Quote
Old 08-27-2009, 04:24 AM   #6
colucix
Guru
 
Registered: Sep 2003
Location: Bologna, Italia
Distribution: OpenSUSE 11.1 CentOS 5.4 VectorLinux 6.0
Posts: 5,128
Thanked: 463
Code:
mkdir /media/D && mount -t vfat /dev/sdb1 /media/D
linuxcentos colucix is offline     Reply With Quote
Old 08-27-2009, 04:37 AM   #7
wakrein
Member
 
Registered: Aug 2009
Posts: 32
Thanked: 0

Original Poster
Quote:
Originally Posted by colucix View Post
Code:
mkdir /media/D && mount -t vfat /dev/sdb1 /media/D
mkdir /media/D
ok i did this still the same output
mount -t vfat /dev/sdb1 media/D
output: mount: mount point media/D: does not exist
linux wakrein is offline     Reply With Quote
Old 08-27-2009, 04:54 AM   #8
colucix
Guru
 
Registered: Sep 2003
Location: Bologna, Italia
Distribution: OpenSUSE 11.1 CentOS 5.4 VectorLinux 6.0
Posts: 5,128
Thanked: 463
Quote:
Originally Posted by wakrein View Post
mkdir /media/D
ok i did this still the same output
mount -t vfat /dev/sdb1 media/D
output: mount: mount point media/D: does not exist
You forgot a leading slash: is /media/D, not media/D.
linuxcentos colucix is offline     Reply With Quote
Old 08-27-2009, 04:56 AM   #9
wakrein
Member
 
Registered: Aug 2009
Posts: 32
Thanked: 0

Original Poster
Quote:
Originally Posted by colucix View Post
You forgot a leading slash: is /media/D, not media/D.
oh

darn i get thi output now

mount: special device /dev/sbd1 does not exist
linux wakrein is offline     Reply With Quote
Old 08-27-2009, 05:00 AM   #10
wakrein
Member
 
Registered: Aug 2009
Posts: 32
Thanked: 0

Original Poster
Quote:
Originally Posted by colucix View Post
You forgot a leading slash: is /media/D, not media/D.
i see what i did wrong i need was typing sbd instead of what i should of typed sdb heh sorry well let get it a shot
linux wakrein is offline     Reply With Quote
Old 08-27-2009, 05:03 AM   #11
wakrein
Member
 
Registered: Aug 2009
Posts: 32
Thanked: 0

Original Poster
Quote:
Originally Posted by colucix View Post
You forgot a leading slash: is /media/D, not media/D.
mount: /dev/sdb1 already mounted or /media/D: busy
mount: according to mtab, /dev/sdb1 is already mounted on /media/D:

sorry for my tripple post.
linux wakrein is offline     Reply With Quote
Old 08-27-2009, 05:16 AM   #12
colucix
Guru
 
Registered: Sep 2003
Location: Bologna, Italia
Distribution: OpenSUSE 11.1 CentOS 5.4 VectorLinux 6.0
Posts: 5,128
Thanked: 463
Well, let's start from the beginning: you have first to umount /dev/sdb1:
Code:
umount /dev/sdb1
because the system automatically mounted it with noexec. Now, re-mount it under /media/D using
Code:
mount -t vfat /dev/sdb1 /media/D
As further step check the output of the mount command again (without options) to see if the disk has been mounted correctly (without noexec).
linuxcentos colucix is offline     Reply With Quote
Old 08-27-2009, 05:18 AM   #13
vishesh
Member
 
Registered: Feb 2008
Location: india
Distribution: Fedora,RHEL,Ubuntu
Posts: 262
Thanked: 24
use following
#mount -o remount,exec /dev/sdb1

thnks
windows_xp_2003 vishesh is offline     Reply With Quote
Old 08-27-2009, 05:27 AM   #14
wakrein
Member
 
Registered: Aug 2009
Posts: 32
Thanked: 0

Original Poster
Quote:
Originally Posted by vishesh View Post
use following
#mount -o remount,exec /dev/sdb1

thnks
done
here is mount output
Code:
rootfs on / type rootfs (rw)
/dev/sda1 on /.ro type ext2 (ro)
/dev/sda2 on /.rw type ext3 (rw,noatime,data=ordered)
none on / type aufs (rw,xino=/.rw/.aufs.xino,br:/.rw=rw:/.ro=ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
tmpfs on /dev/shm type tmpfs (rw)
tmpfs on /tmp type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sdb1 on /media/D: type vfat (rw,nosuid,nodev,fmask=0111,dmask=0000,codepage=cp850,iocharset=utf8,shortname=mixed)
/dev/sda1 on /ro type ext2 (ro)
./configure
Code:
bash: ./configure: No such file or directory
mount -t vfat /dev/sdb1 /media/D:
Code:
mount: /dev/sdb1 already mounted or /media/D: busy
mount: according to mtab, /dev/sdb1 is already mounted on /media/D:
linux wakrein is offline     Reply With Quote
Old 08-27-2009, 05:46 AM   #15
colucix
Guru
 
Registered: Sep 2003
Location: Bologna, Italia
Distribution: OpenSUSE 11.1 CentOS 5.4 VectorLinux 6.0
Posts: 5,128
Thanked: 463
Quote:
Originally Posted by wakrein View Post
Code:
bash: ./configure: No such file or directory
Be sure you're in the directory where configure is placed:
Code:
pwd
ls
linuxcentos colucix is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
./configure - permission denied Odan Linux - General 12 11-07-2009 10:55 AM
media:/ gives permission denied blackbeard99 Slackware 6 12-23-2007 04:58 AM
Permission denied in mount /media/cdrecorder from non-root account... sean04 Linux - Newbie 2 12-10-2007 01:57 PM
./configure: Permission denied Qing Feng Linux - Newbie 3 11-16-2004 12:08 PM
./configure --> permission denied mrosati Linux - Software 3 05-13-2004 03:48 PM


All times are GMT -5. The time now is 01:32 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration