tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert J. Carr" <>
Subject DefaultServlet, WebDAV, and Permissions
Date Thu, 16 Aug 2007 00:26:12 GMT
I sent this out last week and didn't get any responses ... just wanted
to make sure it hit the list and didn't get dropped somewhere.  Any
help is appreciated!


I'm using the WebDAV servlet in tomcat 5.5.22 and I'm having some
issues that I was hoping I could get sorted out.  First of all, I'm
seeing reams and reams of these in the logs:

Aug 8, 2007 5:15:30 PM org.apache.catalina.core.ApplicationContext log
INFO: webdav: DefaultServlet.doPut: couldn't delete temporary file: null

They seem to happen on every access ... lists, puts, etc.  Ideas?  Are
they benign and should I just turn down the log level?

The second problem is much more involved, so please bear with me.  I
have started tomcat as myself, say 'jack'.  The user 'jack' is a
memeber of the group 'hill'.  The user 'jill' is also a member of the
group 'hill'.  In web.xml I have specified a dav folder of /webdav.
That folder is owned by 'jack' and group writable by 'hill' (755).
Inside of /webdav I have two folders:

drwxrwxr-x  2 jack hill  4096 Aug  1 14:01 f1
drwxrwxr-x  2 jill hill 69632 Aug  8 17:15 f2

As user 'jack', on the server, I can create (or touch) a file in both
folders 'f1' and 'f2'.  If I remotely mount the file system with
WebDAV, I can also write to the folder 'f1', but now I can't write to
'f2'.  Mounting with Finder on Mac gives me a strange (and incorrect)
error (talking about filenames being to long), and using sitecopy I
get a 409 (conflict) error.

I understand that Java doesn't deal with permissions, but shouldn't it
just try to write the file and respond to what the OS tells it can be
done?  Or is something else going on?  Are my two problems related?
Is this a problem in DefaultServlet in general?

Thanks for taking a look!

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message