Date: Sat, 19 May 2012 23:25:36 +0300 From: Andriy Gapon <avg@FreeBSD.org> To: office@FreeBSD.org Subject: openoffice-3: wrong UserInstallation in bootstraprc Message-ID: <4FB801C0.3000507@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
I've installed openoffice-3 port and had a problem with a per-user installation. On my system /usr/local/openoffice-3.4.0/openoffice.org3/program/bootstraprc has the following line: UserInstallation=$ORIGIN/../.openoffice.org/3 I think that the above was expanded to /usr/local/openoffice-3.4.0/openoffice.org3/.openoffice.org/3 and a write access is required for that location. Shouldn't we actually install per-user files into a home directory? My workaround was to change UserInstallation to $SYSUSERHOME/.openoffice.org/3. But I am not sure if this is completely correct. BTW, it seems that /usr/local/openoffice-3.4.0/openoffice.org3 was created with the following permissions: drwxrwxr-x root wheel. So if a user is in wheel group, then he is able to create his user installation in /usr/local/openoffice-3.4.0/openoffice.org3/.openoffice.org. This doesn't seem to be proper. Also, just double-checked bootstraprc if libreoffice and it has: UserInstallation=$SYSUSERCONFIG/libreoffice/3 As I understand SYSUSERCONFIG expands to ${HOME}/.config, which is quite sane too. I apologize in advance if the reported issue is my local environment problem. Thank you for you work and help! -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FB801C0.3000507>