Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Core 2.5 file security control in CGI mode

 [1/3] from: bo:rebol at: 28-Mar-2001 10:48


kenlo, I did the following test from RedHat Linux 7.0 and it worked fine: ./rebol -cs --do "write %test.r {test}" I was not prompted to lower the security and the file was written correctly. Try the above on your version and let us know: 1) Did it work? 2) The full version number of your release (i.e. 2.5.0.3.1). You said the switch was OK in commandline mode. Does this mean that the problem only exists when launching it from a script? If so, could you provide a short example of a script that doesn't work? What webserver are you using? Give us whatever information you think we would need to recreate the problem here. Thanks! -Bo On 28-Mar-2001/14:32:36+8:00, [kenlo--pop3free--com] wrote:
>The -cs switch doesn't work with Core 2.5. It just keep on asking me >to grant permission to write to file. I have to switch back to Core 2.4.
<<quoted lines omitted: 3>>
>[rebol-request--rebol--com] with "unsubscribe" in the >subject, without the quotes.
-- Bohdan "Bo" Lechnowsky REBOL Adventure Guide REBOL Technologies 707-467-8000 (http://www.rebol.com) The Official Source for REBOL Books (http://www.REBOLpress.com)

 [2/3] from: kenlo::pop3free::com at: 28-Mar-2001 14:32


The -cs switch doesn't work with Core 2.5. It just keep on asking me to grant permission to write to file. I have to switch back to Core 2.4. Strange enough the -s switch is OK in commandline mode.

 [3/3] from: kenlo:pop3free at: 29-Mar-2001 10:41


Thanks Bo. My configuration is :- /core 2.5.0.3.1 AnalogX simpleserver 1.0.5 from http://www.analogx.com and configured to start rebol cgi scripts with -cs Win98 The script getmp.r is attached. Some of the characters are in Big5 encoding. The base url is a Big5 site. In commandline I use rebol -s getmp.r In cgi it is run as rebol -cs getmp.r The problem only exists when launching it as cgi script.
>kenlo, >I did the following test from RedHat Linux 7.0 and it worked fine:
<<quoted lines omitted: 31>>
>[rebol-request--rebol--com] with "unsubscribe" in the >subject, without the quotes.
-- Binary/unsupported file stripped by Listar -- -- Type: application/octet-stream -- File: getmp.r

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted