openoffice-3: wrong UserInstallation in bootstraprc
Andriy Gapon
avg at FreeBSD.org
Sat May 19 20:25:41 UTC 2012
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
More information about the freebsd-office
mailing list