My issue from yesterday has returned. Uploads and downloads are not working again. I get the choice to select the protocol (and it does not matter what protocol I use) it just fails with the following error message (tail -f /var/log/messages):
Dec 12 10:04:21 digitalrealms synchronet: term Node 1 <High Spirit> Node 1 executing external: /sbbs/exec/sexyz 43 -Telnet rz /sbbs/files/sysop/uploads/test.txt
Dec 12 10:04:21 digitalrealms synchronet: term Node 1 <High Spirit> attempted to upload test .txt to SysOp Area Uploads (Not received)
I have not changed anything since I got it working yesterday.
Looking at the Synchronet source code, I figured out that it was the following lines in the upload.cpp having the issue:
if(!fexistcase(path)) {
bprintf(text[FileNotReceived],f->name);
sprintf(str,"attempted to upload %s to %s %s (Not received)"
,f->name
,cfg.lib[cfg.dir[f->dir]->lib]->sname,cfg.dir[f->dir]->sname);
logline(LOG_NOTICE,"U!",str);
return(0);
}
So the call to fexistcase(path) is returning as FALSE.
Could someone tell me what all it does (linux build) so I can try and figure out why it is failing?
Last time you reported this problem you pasted the corresponding error from your data/error.log file:
Tue Dec 11 2018 12:17 pm digitalrealms.net
term Node 2 <High Spirit> Node 2 !ERROR 13 executing /sbbs/exec/sexyz
That "ERROR 13" means "Permission denied":
/usr/include/asm-generic/errno-base.h:#define EACCES 13 /*
Permission denied */
Sysop: | MCMLXXIX |
---|---|
Location: | Prospect, CT |
Users: | 333 |
Nodes: | 10 (0 / 10) |
Uptime: | 35:48:12 |
Calls: | 576 |
Messages: | 236643 |