Setting system user home directory

Dmytro Bilokha dmytro at posteo.net
Wed Dec 20 19:22:32 UTC 2017


On Wed, Dec 20, 2017 at 08:12:52AM -0600, Adam Vande More wrote:
>On Sat, Dec 16, 2017 at 2:10 PM, Dmytro Bilokha <dmytro at posteo.net> wrote:
>
>> Guys, thanks for your help. I've managed to adjust user's homedir
>> using pkg-install script. Now I'll try to move everything writable
>> from /usr/local to /var (as Miroslav suggested), test and submit the new
>> port version.
>
>
>I think you should do what makes sense for your application.  The /var/db
>stuff is not a hard fast rule and it doesn't work well for many
>situations.  Also it's mostly system related DB's that live there.  It's
>not only some java related ports that live mostly under /usr but also
>things like postgres(at least used to).
>
>IMO, as long as you're not flagrantly violating hier(7), do what is best
>for your port.
>
>-- 
>Adam

Thanks for your response. For me both approaches are fine, application will
work. As far as I understand, which layout is better depends on how the 
system is managed. For now having writable data in /var seems reasonable,
so I'll try it.

-- 
Dmytro Bilokha
dmytro at posteo.net
+38-050-607-41-43


More information about the freebsd-ports mailing list