-=> Winzlo wrote to All <=-
Wi> Hi all,
Wi> I've been doing some testing on my Synchronet 3.21 system under Linux,
Wi> and I ran into something I'm not entirely sure I'm interpreting
Wi> correctly. I wanted to run it by the group in case I'm misunderstanding
Wi> expected behavior.
Wi> My setup is a fairly standard one where Synchronet starts as root (to
Wi> bind to low ports) and then drops privileges to the sbbs user.
Wi> While troubleshooting an unrelated login delay, I noticed that after
Wi> restarting the BBS using sudo, a couple of files ended up owned by
Wi> root:
Wi> - /sbbs/data/msgs/0001.msg
Wi> - /sbbs/data/error.log
Wi> When those files are owned by root, logging in (especially as user #1)
Wi> introduces a noticeable delay during the logon process. Once I change
Wi> ownership back to sbbs:sbbs, the delay goes away immediately.
<SNIP>
Go to the Wiki and search the term 'setcap'. You don't need to be
starting the system as root.
... Users come in two types: Those who have lost data, and those who will.
--- MultiMail/Linux v0.52
■ Synchronet ■ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
|