Bug 29584

Summary: 'restore -r' sets permissions on the current directory even if -N flag is set
Product: Base System Reporter: Victor Sudakov <vas>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.3-RELEASE   
Hardware: Any   
OS: Any   

Description Victor Sudakov 2001-08-10 02:50:00 UTC
'restore -r -N' sets permissions on the current directory even if -N flag is set.
-N means "do nothing", does it not?

Fix: 

none known
How-To-Repeat: run 'restore -r -N' in your home directory and see its owner:group being changed into
those of the root of the restored filesystem.
Comment 1 Joerg Wunsch freebsd_committer freebsd_triage 2001-08-13 12:29:03 UTC
State Changed
From-To: open->closed

There's a duplicate PR bin/29671 which contains a full analysis of the 
problem plus a patch.