Skip to content

Setting permissions for users from a different zone gives CAT_INVALID_ARGUMENT #1

@RubenGarcia

Description

@RubenGarcia
user='user'
session.users.create(user, user_type, zone, auth_str)
home_dir = "/" + zone + "/home/" + user
home_coll = session.collections.get(home_dir)

session.users.create(user, user_type, fed_zone, auth_str)
acl_user_fed = iRODSAccess("own", home_coll, user, fed_zone)
#everything looks ok until this line
session.permissions.set(acl_user_fed)
#^this line fails

fails with the following error:

CAT_INVALID_ARGUMENT
Input path is not a collection and not a dataObj: <iRODSCollection 40432 b'user'>

The error seems bogus, since iRODSCollection is obviously a collection. Can anybody confirm the error and investigate?
Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions