Bug 28095

Summary: [PATCH] pax may descend into directories even when -d specified
Product: Base System Reporter: bill <bill>
Component: binAssignee: Brian Somers <brian>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.3-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description bill 2001-06-12 11:10:01 UTC
When the -d option is specified and a -T, -G, or -U option causes a directory to be skipped, pax will descend into that directory. Other selection options may have a similar problem. I have not addressed that.

Fix: Sorry for the very likely screwiness of this patch; this is not my normal interface. When my system is back up, I'll e-mail the patch if requested.
How-To-Repeat: pax -w -v -d -G tty -f /dev/null /usr/bin

This will dump wall and write, which are group tty, even though the -d option says to not descend into /usr/bin.
Comment 1 Brian Somers freebsd_committer freebsd_triage 2005-01-12 03:27:09 UTC
Responsible Changed
From-To: freebsd-bugs->brian

I'll apply the patch (or something similar!)
Comment 2 Brian Somers freebsd_committer freebsd_triage 2005-01-12 03:27:37 UTC
State Changed
From-To: open->patched

Committed to -current.  I'll MFC in 7 days if there are no objections
Comment 3 Brian Somers freebsd_committer freebsd_triage 2005-01-24 14:03:27 UTC
State Changed
From-To: patched->closed

Committed to RELENG_5