CGI permissions
Mark Smith
mark at maseurope.net
Sat Aug 27 12:26:40 EDT 2005
It's a stack (no UI elements) which has some template html stored in
custom properties, tries to get the data from the files and "puts" the
result.
It's opened from a simple text CGI.
I think the problem maybe that the the files are in a folder on my
desktop - however, having changed the permissions for the desktop to
644 ( was this a stupid thing to do? no-one else uses the machine), the
problem persists. The stack works properly in the IDE, and the paths to
the files are absolute and complete, as it were (no specialFolderPath,
or anything).
Thanks,
Mark
On 27 Aug 2005, at 17:09, Dave Cragg wrote:
>
> On 27 Aug 2005, at 16:58, Mark Smith wrote:
>
>> I have a Rev CGI stack that collects data from some text files,
>> builds some html and returns it to the browser.
>> The html stuff is all working fine, but the stack is unable to read
>> the necessary files to get the data...
>>
>> Could some kind soul tell me what the permissions should be, both for
>> the stack (which resides in the CGI-Executables folder, currently
>> 755) and for the files (which live elsewhere).
>>
>
> 644 should work for reading the files. (Anyone can read, only the
> owner can write.)
>
> When you say a "CGI stack", do you mean a script file, or a stack that
> is opened by a script file? However, 755 should work in either case,
> unless you need to dave the stack.
>
> Cheers
> Dave
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___________________________________________________________
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
More information about the use-livecode
mailing list