Paul
By default the .prp file contains
traceFile=./trace.log
i.e. A relative pathname. However, unlike table paths, the trace path is
relative to the current directory, i.e. the directory where the serverlet
started. Is it possible that it's this dorectory that InstantDB is trying to
write to? Try setting traceFile to an absolute path as a way of testing.
Regards
Peter Hearty
Lutris Technologies (UK)
----- Original Message -----
From: "Paul Libbrecht" <paul@ags.uni-sb.de>
To: <instantDB@enhydra.org>
Sent: Friday, August 18, 2000 1:31 AM
Subject: InstantDB: Permission stories
>
> Hi all,
>
>
> Sort of in a trouble here, using InstantDB for a servlet executed by
> a very low-priviledged (webserver) user...
>
> The thing is simply I always get a permission denied with trace.log
> even though the containing directory is write for all opened...
>
> java.sql.SQLException: IO problem: java.io.FileNotFoundException:
> ./trace.log (Permission denied)
> at jdbc.idbDriver.connect(Compiled Code)
> at java.sql.DriverManager.getConnection(Compiled Code)
>
> As there seems no way to get the source currently I'm wondering
> what's happening there. This happens with the trace.log previously
> deleted (in which case I guess iDB would create it with its own
> ownership) or not (with a different ownership (where deleting the
> file would make the same error).
>
> Does anyone have a good advise here ??
> There might be an authorization scheme to set but I can't figure it out.
>
> Thanks in advance.
>
> Paul
> --------------------------------------------------------------------------
---
> To unsubscribe from this mailing list, send email to majordomo@enhydra.org
> with the text "unsubscribe instantdb" in the body of the email.
> If you have other questions regarding this mailing list, send email to
> the list admin at owner-instantdb@enhydra.org.
>
-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.
|