> -      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();
> +            return;

Yep, I messed up. I think we should propagate in both cases.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/733/files#r28992122

Reply via email to