ports/73481: w3mir mirrors into root filesystem

J Stein joes at gridsquare.net
Wed Nov 3 16:40:46 UTC 2004

>Number:         73481
>Category:       ports
>Synopsis:       w3mir mirrors into root filesystem
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 03 16:40:36 GMT 2004
>Originator:     J Stein
>Release:        FreeBSD 4.10-STABLE i386
System: FreeBSD shasta.gridsquare.net 4.10-STABLE FreeBSD 4.10-STABLE #3: Mon Sep 27 00:45:07 PDT 2004 root at shasta.gridsquare.net:/usr/obj/usr/src/sys/SHASTA i386

	When using w3mir with a configuration file, regardless of any Cd: directives
	therein, all files are mirrored into the root filesystem.


use this config file, for example:

Options: recurse, only-nonexistent, list-urls, list-nonmirrored
URL: http://www.example.com/
Initial-referer: -
Agent: Mozilla/4.0 
Pause: 8
Retry-pause: 16
Retries: 3
debug: 2
umask: 0077
Remove-Nomirror: off
File-Disposition: save
Verbosity: chatty
Cd: fetched
Disable-Headers: user
Fixup: off

all files retrieved will be under '/'


It appears that there is no mechanism to remove the leading '/' from save-to file spec. 
This may be in w3http.pm but I have been unable to find the appropriate instance to correct.


More information about the freebsd-ports-bugs mailing list