Hi,

I am wondering if it may be more reliable to attempt creation of a new file in 
the read only directory rather than checking for the "root" user name?
 
Paul.

On May 27, 2014, at 3:19 PM, Vladimir Ivanov <[email protected]> 
wrote:

> https://bugs.openjdk.java.net/browse/JDK-8035186
> http://cr.openjdk.java.net/~vlivanov/8035186/webrev.00/
> 
> LogGeneratedClassesTest.testDumpDirNotWritable is not applicable when it is 
> run by super user on Linux/Solaris. The test checks that it's forbidden to 
> create files in read-only directory, but super user is allowed to do so.
> 
> The fix is to skip the test in such configuration.
> 
> Testing: ran the test by super user on Solaris/Linux.
> 
> Best regards,
> Vladimir Ivanov

Reply via email to