Name: sgC58550 Date: 03/25/97
Given a NT file with "Full Permissions" set to "Everybody".
the file:
File usagers = new File("d:\\java\\httpserver\\outbox.tmp");
...
System.out.println(usagers.canWrite());
System.out.println(usagers.delete());
The output is:
true
false
and the file is not deleted.
If I set the permissions to "none" for "Everybody" and I run the
same code, the output is:
true
true
and the file is deleted.
company - Oricom Internet , email - ###@###.###
======================================================================