Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downloading a read-only file via python client gives irods.exception.CAT_NO_ACCESS_PERMISSION: failed to set access time for [file] #175

Open
2 tasks
RubenGarcia opened this issue Dec 1, 2021 · 1 comment
Assignees
Labels

Comments

@RubenGarcia
Copy link

RubenGarcia commented Dec 1, 2021

  • main
  • 4-2-stable

Downloading a read-only file via python client gives
irods.exception.CAT_NO_ACCESS_PERMISSION: failed to set access time for [file]
due to storage tiering trying to update the access time.
See irods/python-irodsclient#320
for details.
If the access time is not updated, the logic for tiering won't work correctly.
The issue will probably also exist when using iget (and iget may be masking the error).

@trel
Copy link
Member

trel commented Jan 20, 2022

Also hit this when replicating another user's data object with admin rights.

irepl -M ../alice/alicetier

Jan 20 08:09:14 pid:17701 NOTICE: _rsGenQuery: genQuery status = -818000
Jan 20 08:09:14 pid:17701 NOTICE: rsGenQuery: _rsGenQuery failed, status = -818000
Jan 20 08:09:14 pid:17701 NOTICE: getDataObjInfo: rsGenQuery error, status = -818000
Jan 20 08:09:14 pid:17701 NOTICE: checkAndGetObjectId cmlExecuteNoAnswerSql(rollback) succeeded
Jan 20 08:09:14 pid:17701 NOTICE: rsModAVUMetadata: rcModAVUMetadata failed
Jan 20 08:09:14 pid:17701 remote addresses: 127.0.0.1, ::1 ERROR: iRODS Exception:
    file: /irods_plugin/libirods_rule_engine_plugin-apply_access_time.cpp
    function: void (anonymous namespace)::update_access_time_for_data_object(rsComm_t *, const std::string &, const std::string &)
    line: 36
    code: -818000 (CAT_NO_ACCESS_PERMISSION)
    message:
        failed to set access time for [/tempZone/home/alice/alicetier]

@trel trel added the bug label Apr 13, 2022
@korydraughn korydraughn self-assigned this Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants