On 2022-01-04, Thomas Bohl <openbsd-misc-518596@aloof.de> wrote:
> Am 04.01.2022 um 10:19 schrieb Stuart Henderson:
>> On 2022-01-03, Thomas Bohl <openbsd-misc-518596@aloof.de> wrote:
>>> # mkdir -p /var/www/usr/local/share/icu/
>>> # mkdir -p /var/www/etc/ssl/
>>> # cp -r /usr/local/share/icu/* /var/www/usr/local/share/icu/
>>
>> The icu files are placed there automatically if you install the php-intl
>> package which uses them. Don't copy them separately, you risk pkg_add failing
>> to update them due to a conflict if the files change.
>
> Now I understand. As I started to use Nextcloud many years ago, I used
> /home/www as httpd's chroot. Because /home has traditionary the most
> diskspace. Inside Nextcloud it was impossible to set the email-address
> of an user. By reading the source code I learned that
> /usr/local/share/icu/ was missing and wondered why no tutorial/readme
> mentioned it, while they would mentioning the /etc-stuff. Anyway I added
> it to my own notes. Today I learned, it is already there if you don't
> change the chroot location.
>
> Thanks for the explanation.
FWIW I don't find the default filesystem layout to be very useful for
any of my machines and modify it in almost every case - for webservers I
usually make a separate filesystem for /var/www. Packages are really
geared up for working with the default locations.
No comments:
Post a Comment