Thanks Magnus.

The problem we are having is that when Orion attempts to create those files 
a permission denied error is issued by Linux. This does not happen when 
Orion runs as user root, but rather when it runs as user orion. However, as 
user orion it has full control over its own directory tree, so the 
implication is that Orion is attempting to write outside its own directory 
tree.

For example, if we first run Orion as user root and then execute the JSP 
checkbox example, the checkbox.jsp.jspCache file is created and runs. If we 
then run Orion as user orion the checkbox JSP example still runs, but now 
the other JSP examples fail because permission is denite to write a file.

Here is the key: We assume the denied file is the JSP cache file, but it 
could be another intermediate file or something else. So we are wondering 
exactly how that JSP cache file is created so we can be sure to give user 
orion the proper permissions.

I apologize if it seems that I am going on and on about this, but we can't 
let Orion run as user root and we can't leave all Orion files world 
writable. So we are looking for a solution that is secure.

Thanks again...

Jim



--On Tuesday, October 03, 2000 9:05 AM +0200 Magnus Rydin 
<[EMAIL PROTECTED]> wrote:

>
> Jim,
> the cache files are normaly written to the 'persistence' directory under
> the applications deployment directory.  For example, the
> default-web-app's jspCache files gets written to
> /orion/application-deployments/default/defaultWebApp/persistence/
>
> WR
>
>> -----Original Message-----
>> From: Jim Archer [mailto:[EMAIL PROTECTED]]
>> Sent: den 3 oktober 2000 08:40
>> To: Orion-Interest
>> Subject: Can't create xxxxx.jsp.jspCache files
>>
>>
>> Hi All...
>>
>> When we run Orion under Debian Linux as user orion where orion has
>> permission to write into its directory tree, an attempt to
>> create the JSP
>> files xxxxx.jsp.jspCache fails (permission denied). If we run
>> Orion as
>> root, it runs fine and creates the files, which persist.
>>
>> If we then run orion again as user orion, the JSP examples
>> that we ran when
>> Orion was root run fine, indicating that Orion, when running
>> as user orion,
>> can at least read these files.
>>
>> So, my question is, exactly what does Orion do and where does
>> it write when
>> it makes those xxx.jsp.jspCache files? If we know this, we
>> should be able
>> to configure our system to give Orion the correct permissions.
>>
>> Thanks...
>>
>> Jim





Reply via email to