Date: Fri, 13 Sep 2002 09:40:58 -0700 (PDT) From: Joao Rocha Braga Filho <goffredo@goffredo.eti.br> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/42747: Squid install changes directory owners. Message-ID: <200209131640.g8DGewjN032502@www.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 42747 >Category: ports >Synopsis: Squid install changes directory owners. >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 13 09:50:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Joao Rocha Braga Filho >Release: 4.5 - STABLE, 4.6 - STABLE >Organization: Fundação Biblioteca Nacional >Environment: FreeBSD fbn-002.bn.br 4.6-STABLE FreeBSD 4.6-STABLE #2: Mon Jul 22 18:26:14 BRT 2002 goffredo@fbn-002.bn.br:/usr/src/sys/compile/FIREWALL i386 (There is others 5 machines.. ) >Description: There is a bug in squid install. It try to create, and after chown the logs and the cache diretory. Im my machine I have an user called squid, that owns this directories. Every update I do, I have to "chown squid.squid ~squid/logs ~squid/cache". >How-To-Repeat: Reinstall squid. >Fix: My sugestion isto replace this in /usr/ports/www/squid24/Makefile: " ${MKDIR} ${PREFIX}/squid/logs ${CHOWN} nobody:nogroup ${PREFIX}/squid/logs ${MKDIR} ${PREFIX}/squid/cache ${CHOWN} nobody:nogroup ${PREFIX}/squid/cache " By this: " @if [ ! -d ${PREFIX}/squid/logs ]; then \ ${MKDIR} ${PREFIX}/squid/logs; \ ${CHOWN} nobody:nogroup ${PREFIX}/squid/logs; \ fi @if [ ! -d ${PREFIX}/squid/cache ]; then \ ${MKDIR} ${PREFIX}/squid/cache; \ ${CHOWN} nobody:nogroup ${PREFIX}/squid/cache; \ fi " >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209131640.g8DGewjN032502>