Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 May 2012 19:40:16 +1000
From:      Peter Jeremy <peter@rulingia.com>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        office@freebsd.org
Subject:   Re: openoffice-3: wrong UserInstallation in bootstraprc
Message-ID:  <20120520094016.GH23537@server.rulingia.com>
In-Reply-To: <4FB801C0.3000507@FreeBSD.org>
References:  <4FB801C0.3000507@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--phCU5ROyZO6kBE05
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2012-May-19 23:25:36 +0300, Andriy Gapon <avg@freebsd.org> wrote:
>
>I've installed openoffice-3 port and had a problem with a per-user install=
ation.
>On my system /usr/local/openoffice-3.4.0/openoffice.org3/program/bootstrap=
rc has
>the following line:
>UserInstallation=3D$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.o=
rg/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 wh=
eel
>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.

--=20
Peter Jeremy

--phCU5ROyZO6kBE05
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAk+4vAAACgkQ/opHv/APuIedyQCfTuyVJ83/MdgoXKJy8Ux+yUqv
59UAn0xCr94XizFgFEBSuP7gsk4H2jol
=eAXW
-----END PGP SIGNATURE-----

--phCU5ROyZO6kBE05--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120520094016.GH23537>