[Bug 216127] sbin/restore doesn't honour extended attributes (extattr on ufs)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jan 22 12:11:46 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216127

--- Comment #14 from dewayne at heuristicsystems.com.au ---
(In reply to Kirk McKusick from comment #13)
Restore is used in the context of a full, and then incremental restores. So it
makes sense to only restore the attributes of the file being restored and yes
the -u option should be used.  I think the most elegant approach is to draw the
attention of users to the -u option with an additional sentence along the lines
of:
"This flag is recommended when using extended attributes, to avoid improperly
accumulating attributes upon (pre)existing files."

Changing the behaviour of restore in the default case, probably isn't
warranted.  Someone may a script that "requires" restore to complain for some
reason!?

Thank-you for your consideration.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-amd64 mailing list