Go to Post If the world was like ChiefDelphi, people would be more eager to help out, offer advice and encourage each other to better things... not a bad world, that. - MissInformation [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 16-07-2005, 09:24
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Bash: permission denied - Script error

I was just setting up a simple script to sync my project files with the ones I have stored at OSC, where I run into this error:
Quote:
Bash: permission denied
This happens when I run my super-simple script of: (with the working part cut out)
Code:
#!/bin/bash
# setup a couple of variables
# call to scp using the variables abover
The part which cause's the error seems to be the simple interpreter line at the top. If I run bash manually through bash <name of my file>, it works fine. If I try to run it with just ./<name of my file>, I get the permission denied error. If I run it as root (IE, sudo ./<name of my file>), it works fine.

I did check /bin/bash just for giggles and it is executable by all. What could be causing this?
__________________

 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
guidelines for modifying the linker script??? gnormhurst Programming 2 06-03-2005 02:03
MPLink Error cloudago Programming 2 01-02-2005 23:00


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi