Re: [Shell script] question.

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 57859
interpreted = N
texte = They are both running under the same user, and I run several other [Shell scripts] without any problem. The .netrc file is created in the same home folder as the user, and has been chmod'd to only give owner access. Mark. On 14 May 2004, at 23:07, William DeVaul wrote: > Sounds like a permissions issue. Does WebCatalog have the same rights > as > you do at the terminal? > > Bill > >> I know it's doing what it thinks it needs to do, >> the problem is that this is the command you run in the terminal >> window to get OSX to run whatever macros you have placed in your >> .netrc >> file. >> >> AFAIN, the $ is supposed to tell OSC to run the macro, but in this >> case >> it doesn't seem to be. >> >> I've tried all the various [raw][url][unurl] combinations, but still >> no >> luck. >> >> Is there another way to launch a .netrc macro? >> >> Thanks. >> >> Mark. >> >> >> >> >> On 14 May 2004, at 1:56 pm, kalin@el.net wrote: >> >>>> I'm trying (without much success) to get a shell script to work. >>>> Running v6, along with WebSTAR 5.3.2 under OSX (10.3.2) >>>> >>>> I have a macro loaded into my .netrc file, and when run from the >>>> terminal, it runs just great. >>>> >>>> echo "\$ webdb | ftp xxx.xxx.xxx.xxx" >>>> >>>> However, when I try to run it from within a Sandbox Script, it's >>>> just >>>> displaying >>>> >>>> $ webdb | ftp xxx.xxx.xxx.xxx >>> >>> it's doing exactly what you are telling it to do - it displays the >>> string >>> in the ""... >>> >>> what are you trying to do?! >>> >>>> >>>> I've tried adding /bin/ before the command, but still no luck. >>>> >>>> Any suggestions? >>>> >>>> Thanks. >>>> > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [Shell script] question. ( Mar Derricck 2004)
  2. Re: [Shell script] question. ( William DeVaul 2004)
  3. Re: [Shell script] question. ( Mark Derrick 2004)
  4. Re: [Shell script] question. ( kalin@el.net 2004)
  5. [Shell script] question. ( Mark Derrick 2004)
They are both running under the same user, and I run several other [Shell scripts] without any problem. The .netrc file is created in the same home folder as the user, and has been chmod'd to only give owner access. Mark. On 14 May 2004, at 23:07, William DeVaul wrote: > Sounds like a permissions issue. Does WebCatalog have the same rights > as > you do at the terminal? > > Bill > >> I know it's doing what it thinks it needs to do, >> the problem is that this is the command you run in the terminal >> window to get OSX to run whatever macros you have placed in your >> .netrc >> file. >> >> AFAIN, the $ is supposed to tell OSC to run the macro, but in this >> case >> it doesn't seem to be. >> >> I've tried all the various [raw][url][unurl] combinations, but still >> no >> luck. >> >> Is there another way to launch a .netrc macro? >> >> Thanks. >> >> Mark. >> >> >> >> >> On 14 May 2004, at 1:56 pm, kalin@el.net wrote: >> >>>> I'm trying (without much success) to get a shell script to work. >>>> Running v6, along with WebSTAR 5.3.2 under OSX (10.3.2) >>>> >>>> I have a macro loaded into my .netrc file, and when run from the >>>> terminal, it runs just great. >>>> >>>> echo "\$ webdb | ftp xxx.xxx.xxx.xxx" >>>> >>>> However, when I try to run it from within a Sandbox Script, it's >>>> just >>>> displaying >>>> >>>> $ webdb | ftp xxx.xxx.xxx.xxx >>> >>> it's doing exactly what you are telling it to do - it displays the >>> string >>> in the ""... >>> >>> what are you trying to do?! >>> >>>> >>>> I've tried adding /bin/ before the command, but still no luck. >>>> >>>> Any suggestions? >>>> >>>> Thanks. >>>> > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Mar Derricck

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Limiting user access to .tmpl files (1997) Email Newsletters (2003) Bug or syntax error on my part? (1997) Redirect and passing more than one variable... (2002) setitems, one more thing (1997) Nesting format tags (1997) creator code (1997) Security (2006) Encrypt question. (2000) GoLive CyberStudio 1.0.1 (1997) For those of you not on the WebCatalog Beta... (1997) interesting Unix bug (2000) Security Question (1997) WebDNA 6.x - Compatibility with Fedora release 1? (2004) dynamic list of form variables (2003) Using [Showif] tag. Mac (1997) Multiple prices (1997) [WebDNA] Permissions Error (2014) E-mailer error codes (1997) WebCat2 - Getting to the browser's username/password data (1997)