irods: iphymv (et al?) returns SYS_USER_NO_PERMISSION when it should be ENOENT (or equivalent)
Bug Report
iRODS Version, OS and Version
iRODS 4.2.7 Ubuntu 18.04
What did you try to do?
iphymv an object that is absent from the filesystem:
irods@irods-seq-sr03:~$ ils -L /seq/21325/longranger/fastq/21325_8_GTGTATTA_S18_L008_R2_001.fastq.gz
srpipe 0 root;replicate;seq-red;red3;irods-seq-i20-de 6700379993 2017-02-14.16:19 & 21325_8_GTGTATTA_S18_L008_R2_001.fastq.gz
c2233531ca2a4b781fa5dfe0fb1bb257 generic /irods-seq-i20-de/21325/longranger/fastq/21325_8_GTGTATTA_S18_L008_R2_001.fastq.gz
srpipe 1 irods-seq-sr03-ddn-gg07-21-22-23 6700379993 2017-02-14.16:19 & 21325_8_GTGTATTA_S18_L008_R2_001.fastq.gz
generic /irods-seq-sr03-ddn-gg07-21-22-23/21325/longranger/fastq/21325_8_GTGTATTA_S18_L008_R2_001.fastq.gz
irods@irods-seq-sr03:~$ ls -l /irods-seq-sr03-ddn-gg07-21-22-23/21325/longranger/fastq/21325_8_GTGTATTA_S18_L008_R2_001.fastq.gz
ls: cannot access '/irods-seq-sr03-ddn-gg07-21-22-23/21325/longranger/fastq/21325_8_GTGTATTA_S18_L008_R2_001.fastq.gz': No such file or directory
Expected behavior
iphymv
should report the object is absent (ENOENT or equivalent)
Observed behavior (including steps to reproduce, if applicable)
iphymv instead reports a permissions failure:
remote addresses: 10.160.2.33 ERROR: phymvUtil: phymv error for /seq/21325/longranger/fastq/21325_8_GTGTATTA_S18_L008_R2_001.fastq.gz, status = -121000 status = -121000 SYS_USER_NO_PERMISSION
This isn’t correct - the relevant directory is owned by the irods
user:
irods@irods-seq-sr03:~$ ls -ld /irods-seq-sr03-ddn-gg07-21-22-23/21325/longranger/fastq/
drwxr-x--- 2 irods irods 4096 Oct 6 23:38 /irods-seq-sr03-ddn-gg07-21-22-23/21325/longranger/fastq/
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 19 (15 by maintainers)
OK, yes, but I was expecting the tool to tell me it already had the replica. A bit like this? https://youtu.be/GYcopzJ-T9w?t=28
How does that return value look, @mcv21?