atom feed4 messages in org.freebsd.freebsd-portscups lpr not executable after portupg...
FromSent OnAttachments
Peter Ulrich KruppaNov 21, 2004 5:44 pm 
Kris KennawayNov 21, 2004 11:42 pm 
Peter Ulrich KruppaNov 22, 2004 5:25 am 
Kris KennawayNov 22, 2004 2:46 pm 
Subject:cups lpr not executable after portupgrade
From:Kris Kennaway (kr@obsecurity.org)
Date:Nov 22, 2004 2:46:57 pm
List:org.freebsd.freebsd-ports

On Mon, Nov 22, 2004 at 06:12:53AM +0100, Peter Ulrich Kruppa wrote:

On Sun, 21 Nov 2004, Kris Kennaway wrote:

On Sun, Nov 21, 2004 at 06:44:29PM +0100, Peter Ulrich Kruppa wrote:

Hi,

after a cvsup and portupgrade -a cups didn't work anymore.

After setting /usr/local/bin/lp lpq lpr lprm and lpstat

to r-xr-xr-x everything was fine again.

Is this a bug or a feature?

It's supposed to chmod 0 the /usr/bin versions of these. Did you perhaps replace these files with a symlink during a previous attempt to get the cups-lpr port to work?

I see.

Last year, or so, I set links from /usr/bin to /usr/local/bin as was recommended in some howto. I guess I can delete them now? (I have got CUPS_OVERWRITE_BASE=yes NO_LPR=yes in my /etc/make.conf )

Yes, they should not be required providing your PATH is set correctly (/usr/local/bin before /usr/bin).

Kris