Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Dec 2001 19:50:54 -0500
From:      Anthony Schneider <aschneid@mail.slc.edu>
To:        Andreas Klemm <andreas@apsfilter.org>
Cc:        apsfilter-hackers@apsfilter.org, freebsd-hackers@FreeBSD.ORG
Subject:   Re: aps2file doesn't work on FreeBSD
Message-ID:  <20011216195054.A36208@mail.slc.edu>
In-Reply-To: <20011216211318.GA902@titan.klemm.gtn.com>; from andreas@apsfilter.org on Sun, Dec 16, 2001 at 10:13:18PM %2B0100
References:  <XFMail.011216010107.phallobst@web.de> <20011216203550.GA7135@titan.klemm.gtn.com> <20011216155358.A34707@mail.slc.edu> <20011216211318.GA902@titan.klemm.gtn.com>

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

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

Well, the reason I brought up $USER inheritance is that on linux, $USER is =
root
after an su to root, whereas on FreeBSD, the $USER is the same as before th=
e su. =20
Not really thinking, I thought that perhaps that refleted the inherited $UI=
D,
which I was wrong about.  Sorry for that.

You might want to also include the relevant open() or creat() call from the
apsfilter code.
-Anthony.

On Sun, Dec 16, 2001 at 10:13:18PM +0100, Andreas Klemm wrote:
> > try it with an su -l, or explicitly set $USER to 'root', or even replace
> > -n"$USER" with -n"root".  this is all assuming that -n is specifying so=
me
> > sort of user privilege which you intend in this example to be root.
> > if not, please forget this email. :)
> > -Anthony.
>=20
> I'm looking for a technical reason, why I can't write to
> /dev/stdout, which works under Linux but not with FreeBSD.
>=20
> It doesn't work for a user and not after doing a su -l.
>=20
>=20
> 	Andreas ///
>=20
> --=20
> Andreas Klemm
> Apsfilter Homepage                       http://www.apsfilter.org
> Support over mailing-lists (only!)       http://www.apsfilter.org/support
> Mailing-list archive                     http://www.apsfilter.org/Lists-A=
rchives
> Songs from our band >> 64Bits <<         http://www.64bits.de
> Inofficial band pages with add-on stuff  http://www.apsfilter.org/64bits.=
html



--tKW2IUtsqtDRztdT
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjwdQW0ACgkQ+rDjkNht5F2SJQCeMkW0Hl9cVQrfvdbQUPf74McH
ZOgAn0d1pAW7OG4e7dt792tKARnij3da
=B+13
-----END PGP SIGNATURE-----

--tKW2IUtsqtDRztdT--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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