I've migrated from Gentoo Linux to FreeBSD and I was wondering what is the ideal user setup to follow. In my case I'm building a server with net-p2p/rtorrent and net/samba4 mainly to act as a home seedbox.
In my old OS, I had two users: one to work with and the other to handle the rtorrent and flexget daemon, both with a common GID to be able to rewrite/remove files between each other (at least the ones in torrent directory and Samba share). The main user was the owner of the files in the Samba share and the other user was the owner of the files in the torrent directory.
Since I'm starting with FreeBSD, I'm open to any improvement in this layout, so I was wondering if any of the following points would be useful:
In my old OS, I had two users: one to work with and the other to handle the rtorrent and flexget daemon, both with a common GID to be able to rewrite/remove files between each other (at least the ones in torrent directory and Samba share). The main user was the owner of the files in the Samba share and the other user was the owner of the files in the torrent directory.
Since I'm starting with FreeBSD, I'm open to any improvement in this layout, so I was wondering if any of the following points would be useful:
- Completely separate one user from the other and grant the other user total control of rtorrent, the torrent directory and the Samba share.
- Split each role in a separate user and use ACLs or GID to be able to rewrite/remove each other files.
Last edited by a moderator: