hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : '/tmp' is mount
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

'/tmp' is mount

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 11-07-2008, 10:58 PM
FAZO FAZO is offline
Junior Guru Wannabe
 
Join Date: Aug 2006
Location: Turkey
Posts: 70
'/tmp' is mount

I recieve an error related to tmp directory while i try to install something. How can i mount it without a problem?
./xxxxx.Linux.i386.rpm.bin: /tmp/xxxxx_test.sh: /bin/sh: bad
interpreter: Permission denied
./xxxxx.Linux.i386.rpm.bin: The directory '/tmp' is mounted with no execution permissions.
File: /etc/fstab
Code:
/dev/VolGroup00/LogVol00 / ext3 defaults,usrquota 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs noexec,nosuid 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/swapdosya swap swap defaults 0 0
/tmp /var/tmp ext3 defaults,bind,noauto 0 0
/var/tmpMnt /tmp ext3 loop,rw,noexec,nosuid,nodev 0 0

Reply With Quote


Sponsored Links
  #2  
Old 11-08-2008, 12:13 AM
UNIXy UNIXy is offline
Warp Speed!
 
Join Date: Feb 2008
Location: Houston, Texas, USA
Posts: 2,742
It looks like your RPM/bin needs to execute a script off of /tmp. /tmp is set to mount without the execute bit on. Simply replace the fstab entry:
Quote:


/var/tmpMnt /tmp ext3 loop,rw,noexec,nosuid,nodev 0 0


with:
Quote:


/var/tmpMnt /tmp ext3 loop,rw,nosuid,nodev 0 0


And then issue the command:
Quote:


mount -o remount -a


At this point, you can execute the RPM/bin command. Once done, put the line back as it was and issue the same mount command.
Good luck





__________________UNIXyhttps://www.unixy.net/?page=aboutCross-Datacenter Highly Available SystemsFULLY managed dedicated servers because we care.






Last edited by UNIXy : 11-07-2008 at 11:18 PM.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Codero Hosting Launches On-Demand Storage Services Web Hosting News 2013-04-30 14:58:12
Liquid Web Updates Block Storage, Adding Scale, Cross Mounting Web Hosting News 2012-12-14 16:17:44
Fujitsu Touts Web Hosting Application of High-Density Server Rack Web Hosting News 2012-01-25 15:57:07
Colocation Firm CoreLink Upgrades UPS Systems in Five Data Centers Web Hosting News 2011-08-25 17:08:38
Parting the Clouds, Finding True Business Value with Steve Cumings of Dell Web Hosting News 2011-08-08 22:14:39


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?