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.