|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
I have an awk cgi script which hangs up as soon as it gets to either a
printf "" > file or print someVar >> file The program had worked fine for years on our old server, but now that we've just moved it to Linux Red Hat, w/ Apache web server it has stopped working. Also, when I execute the script from the command line the above printf statement will work fine. Any ideas or advice would be very much appreciated. Thanks, M. |
|
#2
|
|||
|
|||
|
it´s a permissions problem. 99.9% confident on that.
__________________
-- Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more. |
|
#3
|
|||
|
|||
|
Thanks for the reply,
Your right it did have to do with the permissions. Apache had to own the files that were to be written to. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > awk, and writing to a file |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|