Hello g00r00!
I just came across an oddity when trying out the FTP server, I think --
If I, as an s255 user, try to delete the QWK file in the root of the FTP space,
I get an access denied message. :-D
However, after switching to a subdirectory (uploads) and then up again (..) and
re-issuing the delete command, the delete succeeds, but appears to perform the
deletion in the previous directory (uploads):
+ 2022.03.14 18:12:13 FTP > Connect on slot 1/10 (192.168.1.1)
+ 2022.03.14 18:12:13 FTP 1-HostName router.asus.com
+ 2022.03.14 18:12:13 FTP 1-Country Unknown (-)
+ 2022.03.14 18:12:14 FTP 1-C: USER Data: Zip
+ 2022.03.14 18:12:14 FTP 1-S: 331 User name okay, need password.
+ 2022.03.14 18:12:17 FTP 1-C: PASS
+ 2022.03.14 18:12:17 FTP 1-S: 230 User logged in, proceed.
+ 2022.03.14 18:12:17 FTP 1-Logged in as Zip
+ 2022.03.14 18:12:17 FTP 1-C: SYST Data:
+ 2022.03.14 18:12:17 FTP 1-S: 215 UNIX Type: L8
+ 2022.03.14 18:12:28 FTP 1-C: DELE Data: SCBBS.qwk
+ 2022.03.14 18:12:28 FTP 1-S: 550 Access denied
+ 2022.03.14 18:12:31 FTP 1-C: CWD Data: uploads
+ 2022.03.14 18:12:31 FTP 1-S: 250 Working directory is now "/uploads"
+ 2022.03.14 18:12:31 FTP 1-Changed to uploads
+ 2022.03.14 18:12:33 FTP 1-C: CWD Data: ..
+ 2022.03.14 18:12:33 FTP 1-S: 250 Working directory is now "/"
+ 2022.03.14 18:12:33 FTP 1-Changed to /
+ 2022.03.14 18:12:35 FTP 1-C: DELE Data: SCBBS.qwk
+ 2022.03.14 18:12:35 FTP 1-Deleted:
/mnt/bbs/mystic/files/local/L_UPLOADS/SCBBS.qwk
+ 2022.03.14 18:12:35 FTP 1-S: 250 Requested file action okay
+ 2022.03.14 18:12:46 FTP 1-C: QUIT Data:
+ 2022.03.14 18:12:46 FTP 1-S: 221 Goodbye
+ 2022.03.14 18:12:46 FTP 1-Connection closed
(There is no such file there, though, so no file can actually be deleted.)
The same thing appears to happen regardless of the filename:
+ 2022.03.14 18:18:12 FTP > Connect on slot 1/10 (192.168.1.1)
+ 2022.03.14 18:18:12 FTP 1-HostName router.asus.com
+ 2022.03.14 18:18:12 FTP 1-Country Unknown (-)
+ 2022.03.14 18:18:13 FTP 1-C: USER Data: Zip
+ 2022.03.14 18:18:13 FTP 1-S: 331 User name okay, need password.
+ 2022.03.14 18:18:16 FTP 1-C: PASS
+ 2022.03.14 18:18:16 FTP 1-S: 230 User logged in, proceed.
+ 2022.03.14 18:18:16 FTP 1-Logged in as Zip
+ 2022.03.14 18:18:16 FTP 1-C: SYST Data:
+ 2022.03.14 18:18:16 FTP 1-S: 215 UNIX Type: L8
+ 2022.03.14 18:18:27 FTP 1-C: CWD Data: uploads
+ 2022.03.14 18:18:27 FTP 1-S: 250 Working directory is now "/uploads"
+ 2022.03.14 18:18:27 FTP 1-Changed to uploads
+ 2022.03.14 18:18:28 FTP 1-C: CWD Data: ..
+ 2022.03.14 18:18:28 FTP 1-S: 250 Working directory is now "/"
+ 2022.03.14 18:18:28 FTP 1-Changed to /
+ 2022.03.14 18:18:36 FTP 1-C: DELE Data: nosuchfile
+ 2022.03.14 18:18:36 FTP 1-Deleted:
/mnt/bbs/mystic/files/local/L_UPLOADS/nosuchfile
+ 2022.03.14 18:18:36 FTP 1-S: 250 Requested file action okay
+ 2022.03.14 18:18:38 FTP 1-C: QUIT Data:
+ 2022.03.14 18:18:38 FTP 1-S: 221 Goodbye
+ 2022.03.14 18:18:38 FTP 1-Connection closed
But this does not happen for a less privileged user (e.g. s10):
+ 2022.03.14 18:25:06 FTP 1-Connection closed
+ 2022.03.14 18:25:06 FTP > Connect on slot 1/10 (192.168.1.1)
+ 2022.03.14 18:25:06 FTP 1-HostName router.asus.com
+ 2022.03.14 18:25:06 FTP 1-Country Unknown (-)
+ 2022.03.14 18:25:08 FTP 1-C: USER Data: guest
+ 2022.03.14 18:25:08 FTP 1-S: 331 User name okay, need password.
+ 2022.03.14 18:25:09 FTP 1-C: PASS
+ 2022.03.14 18:25:09 FTP 1-S: 230 User logged in, proceed.
+ 2022.03.14 18:25:09 FTP 1-Logged in as guest
+ 2022.03.14 18:25:09 FTP 1-C: SYST Data:
+ 2022.03.14 18:25:09 FTP 1-S: 215 UNIX Type: L8
+ 2022.03.14 18:25:16 FTP 1-C: DELE Data: SCBBS.qwk
+ 2022.03.14 18:25:16 FTP 1-S: 550 Access denied
+ 2022.03.14 18:25:18 FTP 1-C: CWD Data: uploads
+ 2022.03.14 18:25:18 FTP 1-S: 250 Working directory is now "/uploads"
+ 2022.03.14 18:25:18 FTP 1-Changed to uploads
+ 2022.03.14 18:25:20 FTP 1-C: DELE Data: SCBBS.qwk
+ 2022.03.14 18:25:20 FTP 1-S: 550 Access denied
+ 2022.03.14 18:25:21 FTP 1-C: CWD Data: ..
+ 2022.03.14 18:25:21 FTP 1-S: 250 Working directory is now "/"
+ 2022.03.14 18:25:21 FTP 1-Changed to /
+ 2022.03.14 18:25:22 FTP 1-C: DELE Data: SCBBS.qwk
+ 2022.03.14 18:25:22 FTP 1-S: 550 Access denied
+ 2022.03.14 18:25:23 FTP 1-C: QUIT Data:
+ 2022.03.14 18:25:23 FTP 1-S: 221 Goodbye
+ 2022.03.14 18:25:23 FTP 1-Connection closed
+ 2022.03.14 18:30:33 FTP > Connect on slot 1/10 (192.168.1.1)
+ 2022.03.14 18:30:33 FTP 1-HostName router.asus.com
+ 2022.03.14 18:30:33 FTP 1-Country Unknown (-)
+ 2022.03.14 18:30:35 FTP 1-C: USER Data: guest
+ 2022.03.14 18:30:35 FTP 1-S: 331 User name okay, need password.
+ 2022.03.14 18:30:36 FTP 1-C: PASS
+ 2022.03.14 18:30:36 FTP 1-S: 230 User logged in, proceed.
+ 2022.03.14 18:30:36 FTP 1-Logged in as guest
+ 2022.03.14 18:30:36 FTP 1-C: SYST Data:
+ 2022.03.14 18:30:36 FTP 1-S: 215 UNIX Type: L8
+ 2022.03.14 18:30:42 FTP 1-C: DELE Data: nosuchfile
+ 2022.03.14 18:30:42 FTP 1-S: 550 Access denied
+ 2022.03.14 18:30:44 FTP 1-C: CWD Data: uploads
+ 2022.03.14 18:30:44 FTP 1-S: 250 Working directory is now "/uploads"
+ 2022.03.14 18:30:44 FTP 1-Changed to uploads
+ 2022.03.14 18:30:45 FTP 1-C: DELE Data: nosuchfile
+ 2022.03.14 18:30:45 FTP 1-S: 550 Access denied
+ 2022.03.14 18:30:46 FTP 1-C: CWD Data: ..
+ 2022.03.14 18:30:46 FTP 1-S: 250 Working directory is now "/"
+ 2022.03.14 18:30:46 FTP 1-Changed to /
+ 2022.03.14 18:30:47 FTP 1-C: DELE Data: nosuchfile
+ 2022.03.14 18:30:47 FTP 1-S: 550 Access denied
+ 2022.03.14 18:30:48 FTP 1-C: QUIT Data:
+ 2022.03.14 18:30:48 FTP 1-S: 221 Goodbye
+ 2022.03.14 18:30:48 FTP 1-Connection closed
Do you know what could be causing this for the s255 user?
The FTP server has the Show QWK: Root setting.
The file base for the uploads directory has Uploads ACS: <empty>, FTP ACS:
<empty> and Sysop ACS: s255.
Thanks in advance!
Best regards
Björn
--- Mystic BBS v1.12 A48 2022/03/11 (Linux/64)
* Origin: Star Collision BBS, Uppsala, Sweden (2:201/137)
|