David Crossley wrote:
Sylvain Wallez wrote:
Upayavira wrote:
Says:
if (!(d.canRead() d.canWrite())) {
log.error(Directory ' + d + ' is not
readable/writable);
throw new IOException(Directory ' + d + ' is not
readable/writable);
}
Hmm.
Carsten Ziegeler wrote:
David Crossley wrote:
Sylvain Wallez wrote:
Upayavira wrote:
Says:
if (!(d.canRead() d.canWrite())) {
log.error(Directory ' + d + ' is not
readable/writable);
throw new IOException(Directory ' + d + ' is not
Upayavira wrote:
If it is a bug fix, let's apply it for the release.
No prob - can you do it? I'm not in a position to at the
moment, and it is a trivial one.
No, sorry, I can't currently either :) If noone does it
until thursday I will do it.
Carsten
Hi all,
Over in the Forrest world, we've stumbled across an issue with the
Cocoon CLI. It appears that the CLI requires that the context directory
(--contextDir option to the cocoon cli) be writable by the CLI process.
For reference, see http://issues.cocoondev.org//browse/FOR-356
The Use Case
Says:
if (!(d.canRead() d.canWrite())) {
log.error(Directory ' + d + ' is not readable/writable);
throw new IOException(Directory ' + d + ' is not
readable/writable);
}
Hmm. This has been in the CLI since Cocoon 2.0. I've no idea why it is
there. Assuming that
Upayavira wrote:
Says:
if (!(d.canRead() d.canWrite())) {
log.error(Directory ' + d + ' is not readable/writable);
throw new IOException(Directory ' + d + ' is not
readable/writable);
}
Hmm. This has been in the CLI since Cocoon 2.0. I've no idea why it is
there.
Upayavira wrote:
Says:
if (!(d.canRead() d.canWrite())) {
log.error(Directory ' + d + ' is not readable/writable);
throw new IOException(Directory ' + d + ' is not
readable/writable);
}
Hmm. This has been in the CLI since Cocoon 2.0. I've no idea why it is
there.
Sylvain Wallez wrote:
Upayavira wrote:
Says:
if (!(d.canRead() d.canWrite())) {
log.error(Directory ' + d + ' is not readable/writable);
throw new IOException(Directory ' + d + ' is not
readable/writable);
}
Hmm. This has been in the CLI since Cocoon 2.0. I've no