src/main/java/com/upplication/s3fs/S3AccessControlList.java
private boolean hasPermission(EnumSet<Permission> permissions) {
//        for (Grant grant : acl.getGrantsAsList()) {
//            if (grant.getGrantee().getIdentifier().equals(owner.getId()) && permissions.contains(grant.getPermission())) {
//                return true;
//            }
//        }
//        return false;
        return true;
    }
/**
     * Intentionally commented out, to enable inter accounts S3 operations on AWS.
     * In case the requesting party is not the owner of the S3 object,
     * this check will fail, which we actually want to explicitly avoid.
     *
     * Have at least one of the permission set in the parameter permissions
     *
     * @param permissions at least one
     * @return
     */
Intentionally commented out, to enable inter accounts S3 operations on AWS.
In case the requesting party is not the owner of the S3 object,
this check will fail, which we actually want to explicitly avoid.

Have at least one of the permission set in the parameter permissions

@param permissions at least one
@return
Intentionally commented out to enable inter accounts S3 operations on AWS . In case the requesting party is not the owner of the S3 object this check will fail which we actually want to explicitly avoid . Have at least one of the permission set in the parameter permissions @param permissions at least one @return
private boolean hasPermission(EnumSet<Permission> permissions) {
        return true;
    }
private boolean hasPermission ( EnumSet < Permission > permissions ) { return true ; }
Intentionally commented out, to enable inter accounts S3 operations on AWS.
Intentionally commented out to enable inter accounts S3 operations on AWS .
//        for (Grant grant : acl.getGrantsAsList()) { //            if (grant.getGrantee().getIdentifier().equals(owner.getId()) && permissions.contains(grant.getPermission())) { //                return true; //            } //        } //        return false;