Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Oct 2001 17:36:40 -0700 (PDT)
From:      Matt Barton <matt@fear.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/31422: Does pkg_delete have to erase /usr/local/www/data when removing and upgraded Apache?
Message-ID:  <200110220036.f9M0aed30150@freefall.freebsd.org>

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

>Number:         31422
>Category:       ports
>Synopsis:       Does pkg_delete have to erase /usr/local/www/data when removing and upgraded Apache?
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 21 17:40:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Matt Barton
>Release:        4.4-RELEASE
>Organization:
>Environment:
FreeBSD jupiter.netmonkey.net 4.4-RELEASE FreeBSD 4.4-RELEASE #4: Sat Oct 13 02:38:37 EST 2001     root@jupiter.netmonkey.net:/usr/obj/usr/src/sys/JUPITER  i386

>Description:
I used pkg_delete to remove my current installation of Apache so that I could upgrade it to 1.3.22.  After installing the new version of Apache from the ports tree, I discovered that everything that was in /usr/local/www/data/ had been deleted and replaced with the standard apache files.  I had no backup, but that was entirely my fault.
>How-To-Repeat:
See above.
>Fix:
How about not having pkg_delete remove the /usr/local/www/data directory, its contents, and sub-diretories?
>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?200110220036.f9M0aed30150>