Codereview request: 6931128: (spec) File attribute tests fail when run as root.

Rob McKenna rob.mckenna at oracle.com
Mon Aug 13 14:31:23 UTC 2012


Hi folks,

Looking for a codereview for a spec change in jdk8.

In summary, when a java application is run as root it can perform file 
operations regardless of the permissions attributed to that file. I.e. 
canExecute, canRead, canWrite would return true even though the File may 
not have those permissions set.

webrev at: http://cr.openjdk.java.net/~robm/6931128/webrev.01/ 
<http://cr.openjdk.java.net/%7Erobm/6931128/webrev.01/>

Thanks,

     -Rob



More information about the core-libs-dev mailing list