Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jul 2007 21:37:21 +0200
From:      Pav Lucistnik <pav@FreeBSD.org>
To:        Jean Raby <raby.jean@gmail.com>
Cc:        gnome@FreeBSD.org
Subject:   Re: firefox - package install with sudo
Message-ID:  <1184528241.47629.19.camel@ikaros.oook.cz>
In-Reply-To: <f2de5ac10707151202w505c0881s57c8d230fee13195@mail.gmail.com>
References:  <f2de5ac10707151202w505c0881s57c8d230fee13195@mail.gmail.com>

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

--=-WOkh5qQtpB26wbqaeb45
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: quoted-printable

Jean Raby p=ED=B9e v ne 15. 07. 2007 v 15:02 -0400:
> Hello,
>=20
> I just installed 6.2 STABLE (june snap), and I'm installing some
> software I need.
> I noticed that when installing firefox as a normal user, with sudo
> (sudo pkg_add -vr firefox)
> I can run firefox as root, but not as the normal user which ran the
> above command.
>=20
> It seems like the installation creates an *empty* directory (.mozilla)
> in the home of the user which ran the pkg_add command.

$ env|grep HOME
HOME=3D/home/pav
$ sudo env|grep HOME
HOME=3D/home/pav
$ sudo -H env|grep HOME
HOME=3D/root

man sudo

:)

--=20
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

A cow is a sphere that emits milk into all directions.
At least to a first approximation.
  -- An unknown physicist

--=-WOkh5qQtpB26wbqaeb45
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQBGmndwntdYP8FOsoIRAv+RAJ471LEB99wKyoNKbjL42fqCPN5VBQCgiQUs
Y9vTq+1R3TkwkKBCMPToIXY=
=u1an
-----END PGP SIGNATURE-----

--=-WOkh5qQtpB26wbqaeb45--




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