irods: `ils -A` does not print ACLs for data object with single quotation mark in name

  • iRODS v4.3.0
  • Rocky v8
  • icommands v4.3.0

iput test1 "just testin'" completes without errors and the file test1 is successfully transferred on the server. However, irm -f "just testin'" returns

remote addresses: x.x.x.x ERROR: rmUtil: rm error for /zone/home/username/just testin', status = -1205000 status = -1205000 RE_RUNTIME_ERROR
Level 0: no good replica found: Unknown error -166000

I would rather expect a bidirectional success or a bidirectional failure. How can I remove the test file using the icommands? Thanks.


Update

The primary goal of this issue is to make it so that ACLs are printed correctly when handling a data object with a single quotation mark in its name.

See https://github.com/irods/irods/issues/7164#issuecomment-1621647178 for immediate details.

About this issue

  • Original URL
  • State: open
  • Created a year ago
  • Comments: 39 (5 by maintainers)

Most upvoted comments

This should be the relevant SQL error for this issue

2023-07-04 13:08:31.781 CEST [2648040] ERROR:  invalid input syntax for integer: ""
2023-07-04 13:08:31.781 CEST [2648040] STATEMENT:  select distinct R_USER_MAIN.user_name ,R_USER_MAIN.zone_name ,R_USER_MAIN.user_type_name ,r_data_tokn_accs.token_name  from  R_USER_MAIN , R_TOKN_MAIN r_data_tokn_accs , R_OBJT_ACCESS r_data_access  where r_data_access.object_id  = $1  AND r_data_tokn_accs.token_namespace =$2  AND R_USER_MAIN.user_id = r_data_access.user_id  AND r_data_access.access_type_id = r_data_tokn_accs.token_id