irm -rf generating -821000 CAT_COLLECTION_NOT_EMPTY

16 views
Skip to first unread message

Aravind Padmanabhan

unread,
May 6, 2025, 10:24:22 AMMay 6
to iRODS-Chat
Hi All,
Thank you all for your valuable input on my previous posts — I really appreciate the support.

I have a question about irm behavior that I'm hoping someone can clarify. I’ve noticed that I can successfully remove a sub-collection using the -rf flags. However, when I try to remove a collection that contains other sub-collections, I encounter the following error:

remote addresses: 172.2.70.1
ERROR: rmUtil: rm error for /zone1/group1/dir1, status = -821000
status = -821000 CAT_COLLECTION_NOT_EMPTY

I'm curious why this is happening, especially since the -rf flags are meant to allow recursive deletion. Is there a way to determine what's preventing the removal of the parent collection?

Thanks in advance for your help!

Terrell Russell

unread,
May 6, 2025, 11:06:35 AMMay 6
to irod...@googlegroups.com
Hi Aravind,

The server log should tell you what failed to remove.

However, as a user, you can also just recursively list what's still there and then investigate their permissions for surprises.

$ ils -r

Terrell


--
--
The Integrated Rule-Oriented Data System (iRODS) - https://irods.org
 
iROD-Chat: http://groups.google.com/group/iROD-Chat
---
You received this message because you are subscribed to the Google Groups "iRODS-Chat" group.
To unsubscribe from this group and stop receiving emails from it, send an email to irod-chat+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/irod-chat/c671c3dd-4fd3-490a-916e-c7224ed9691fn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages