File.canWrite() actually writes stuff

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Gary,

On Thu, 2006-03-30 at 10:24 +0100, Gary Benson wrote:
> I just noticed that File.canWrite() actually writes things in order to
> check whether they are writable.  This seems really wrong to me: just
> checking something should not modify the filesystem!  Does anyone mind
> if I replace this?

Yes please! It would be nice if we had a real test instead of the
canWriteDirectory(File) hack that is in place now.

Cheers,

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://developer.classpath.org/pipermail/classpath/attachments/20060403/59606766/attachment.pgp

[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux