Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jun 2007 23:57:27 +0800 (WST)
From:      David Adam <zanchey@ucc.gu.uwa.edu.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/113460: cups-base chowns to non-existent user
Message-ID:  <200706071557.l57FvR4G070868@paradise.ucc.gu.uwa.edu.au>
Resent-Message-ID: <200706071630.l57GU7gp094955@freefall.freebsd.org>

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

>Number:         113460
>Category:       ports
>Synopsis:       cups-base chowns to non-existent user
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 07 16:30:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     David Adam
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
University Computer Club, UWA
>Environment:
System: FreeBSD paradise.ucc.gu.uwa.edu.au 6.2-STABLE FreeBSD 6.2-STABLE #14: Wed Apr 11 23:23:17 WST 2007 david@paradise.ucc.gu.uwa.edu.au:/usr/obj/usr/src/sys/PARADISE i386

>Description:
	Installation of cups-base 1.2.10 via the package produces the output below. I believe this is due to the order of operations - the cups user is only created for the first time after the attempts to chown the directories.

>How-To-Repeat:
	portinstall -P cups

Results in:

--->  Installing 'cups-base-1.2.10' from a package
--->  Installing the new version via the package
chown: cups: Invalid argument
pkg_add: command 'chown root:cups /var/cache/cups' failed
chown: cups: Invalid argument
pkg_add: command 'chown cups:daemon /var/log/cups' failed
chgrp: cups: Invalid argument
pkg_add: command 'chgrp cups /usr/local/etc/cups' failed
Added group "cups".
Added user "cups".
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:



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