X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Froom_ops.c;h=0e4eed746b01aa07ec60cb8458502749486adbd5;hb=1be3bb654a722e4ecc771ee20a63d85cae5845ed;hp=a4e6a82dbe0ba27b86aac3f97047a2abb7f02045;hpb=d286526b902cde5c7313e43252e39ed11f04b545;p=citadel.git diff --git a/citadel/room_ops.c b/citadel/room_ops.c index a4e6a82db..0e4eed746 100644 --- a/citadel/room_ops.c +++ b/citadel/room_ops.c @@ -1172,8 +1172,11 @@ void cmd_rdir(char *cmdbuf) stat(buf, &statbuf); /* stat the file */ if (!(statbuf.st_mode & S_IFREG)) { - snprintf(buf2, sizeof buf2, "Command RDIR found something that is not a useable file. It should be cleaned up.\n RDIR found this non regular file:\n%s\n", buf); - aide_message(buf2, "RDIR found bad file"); + snprintf(buf2, sizeof buf2, + "\"%s\" appears in the file directory for room \"%s\" but is not a regular file. Directories, named pipes, sockets, etc. are not usable in Citadel room directories.\n", + buf, CC->room.QRname + ); + aide_message(buf2, "Unusable data found in room directory"); continue; /* not a useable file type so don't show it */ } safestrncpy(comment, "", sizeof comment);