openoffice-3: wrong UserInstallation in bootstraprc

Peter Jeremy peter at rulingia.com
Sun May 20 09:40:27 UTC 2012


On 2012-May-19 23:25:36 +0300, Andriy Gapon <avg at freebsd.org> wrote:
>
>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 wife just ran into this.  (I didn't because I'm in group wheel).
I hadn't actually identified the underlying cause so thank you for
investigating it.

>My workaround was to change UserInstallation to $SYSUSERHOME/.openoffice.org/3.
>But I am not sure if this is completely correct.

I've made the same change and removed
/usr/local/openoffice-3.4.0/openoffice.org3/.openoffice.org
and it works for both myself and my wife.

>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.

I also think this is a bug.

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-office/attachments/20120520/bc0ce98f/attachment.pgp


More information about the freebsd-office mailing list