Codereview request: 6931128: (spec) File attribute tests fail when run as root.
Alan Bateman
Alan.Bateman at oracle.com
Mon Aug 13 14:49:34 UTC 2012
On 13/08/2012 15:31, Rob McKenna wrote:
> 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
Thanks for taking this one, the changes looks good to me.
-Alan.
More information about the core-libs-dev
mailing list