> - Set<PosixFilePermission> permissions;
> - try {
> - permissions = getPosixFilePermissions(path);
> - if (access == ContainerAccess.PRIVATE) {
> - permissions.remove(PosixFilePermission.OTHERS_READ);
> - } else if (access == ContainerAccess.PUBLIC_READ) {
> - permissions.add(PosixFilePermission.OTHERS_READ);
> +
> + if ( System.getProperty("os.name",
> "").toLowerCase().contains("windows") ) {
> + UserPrincipal everyone = null;
> + UserPrincipal me = null;
> + try {
> + everyone = getDefault().getUserPrincipalLookupService()
> + .lookupPrincipalByName("Everyone");
> + } catch (IOException e) {
> + e.printStackTrace();
Use a logger or remove this.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/733/files#r28964910