Sysop: | KK4QBN |
---|---|
Location: | Chatsworth, GA |
Users: | 34 |
Nodes: | 10 (0 / 10) |
Uptime: | 127:32:11 |
Calls: | 1,075 |
Calls today: | 0 |
Files: | 94,829 |
U/L today: |
0 files (0K bytes) |
D/L today: |
8 files (20,332K bytes) |
Messages: | 27,225 |
Posted today: | 0 |
I continue working on my mhsgateway.
https://github.com/ftoledo/mhsgateway
I found a weird problem at my mhsgate.js file. when process message files.
If I run my script with jsexec, both file_remove() and fp.remove() work
fine and the file is deleted.
But, when I run the script as Timed Event, both functions return FALSE
with error 13 (permissions denied)
Both jsexec and sbbs run as root every time.
I add fp.debug = true to see if the file was open, but no, the file is closed before doing the remove.
I see strange is that fp.is_open returns undefined
Did this happen to someone?