• Re: Debian Synchronet

    From mrnelgin@gmail.com@1:229/2 to kurt...@gmail.com on Friday, October 06, 2017 23:57:30
    On Tuesday, January 31, 2017 at 10:59:47 PM UTC-6, kurt...@gmail.com wrote:
    I have a weird problem. The SBBS daemon is running as root, so when it puts
    a message file down (netmail Fidonet) the owner/group of the file is Root:Root.
    The BinkD daemon runs as FTN:FTN and can't manipulate the message file (delete
    or move)
    because it is owned by root.

    How can I fix this?

    Kurt

    I know this is old but the way I solve it this way:
    create a user/group bbs that the BBS will run under. I don't run under root, but I use port redirection from 23 to 2300, 25 to 2500 etc. No root yet still has all the low ports.

    Make all your directories that binkd will need to write to chmod 770 and everything else 750.

    Finally, add ftn to the group using vigr and vigr -s

    bbs@jager:~/sbbs/ctrl$ grep bbs /etc/group
    bbs:x:1001:ftn

    Now login and start your bbs or change your start up script to start as the bbs
    user.

    I have all my binkd directories within /sbbs/fido to keep it nice and tidy so that's really the only directory that may need 770 apart from data since it writes .now files there.

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)