> From: Christopher Schultz [mailto:ch...@christopherschultz.net] 
> Subject: Re: FarmWarDeployer not checking watchDir

> I'm actually really surprised that File.list() returns a list of files
> for the directory that does not have execute permissions.

That's per the POSIX standard: you only need read access on the directory to 
see directory entries (which pretty much consist only of names and inode 
numbers), but you need execute access on the directory to actually reach the 
inodes those directory entries point to.

And, of course, Windows knows nothing about this... (meaning the JRE has to 
fake it a bit).

Seems a bit odd that a .jar or .war file would need execute access, though.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to