So, there are multiple ways I'm aware of at this point (in #OpenBSD) to have som...
MaddieM4 @MaddieM4@raphus.social
So, there are multiple ways I'm aware of at this point (in #OpenBSD) to have some files at `/srv/ftp` for sharing between users (in practice we use `sftp`) while also hosting those files on the local network via `httpd`, and at this point I'm wondering: what's the least janky way to do it?
I'm assuming that a symbolic link from `/var/www/srv/ftp` to `/srv/ftp` will not work within the `/var/www` chroot. I tried hardlinking the directories and apparently you can't do that, so whatever. I could move the files to live in `/var/www/htdocs` and then symlink in the other direction, from `/srv/ftp` to that. And of course, if I want to move a bunch of files and retain permissions, I could make `/srv/www` and have the chroot dir be `/srv`, which would have access across the board, but that has its own smells. There's probably also some kinda mount shenanigans I could do if I could find the important parts of the man page for mount.
Am I missing something? Is there an idiomatic option?