Extensible, async, cloud orientated FTP(S) server library and the core of unFTP: https://github.com/bolcom/unFTP. Follow up and talk to us on https://t.me/unftp
Modify the file system backend so it can work in capability mode. That is, every file system operation is relative to a base file descriptor. For example, use openat instead of open.
Add the ability for the main server to fork after login.
Add the ability for the main server to enter Capsicum mode after forking.
Supporting sandbox types other than Capsicum is beyond the scope of this issue, but the file system backend changes are OS-agnostic.
Discussed in https://github.com/bolcom/libunftp/discussions/454
openat
instead ofopen
.Supporting sandbox types other than Capsicum is beyond the scope of this issue, but the file system backend changes are OS-agnostic.