Date: Sun, 22 Jan 2017 04:26:30 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-amd64@FreeBSD.org Subject: [Bug 216127] sbin/restore doesn't honour extended attributes (extattr on ufs) Message-ID: <bug-216127-6-FO0XzCP0f9@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-216127-6@https.bugs.freebsd.org/bugzilla/> References: <bug-216127-6@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216127 --- Comment #13 from Kirk McKusick <mckusick@FreeBSD.org> --- The extended attribute system calls either add or delete attributes. To get= the behavior of replacing the extended attributes rather than augmenting them w= ould require explicitly removing the old attributes and then adding the new ones. An easier approach is to unlink the old file (which clears out the old exte= nded attributes) and then create the new file of the same name and add the new extended attributes to it. This effect can be obtained by including the -u = flag when running restore. So perhaps what should be done is to simply add text = to the restore man page suggesting the the -u flag be used when restoring files with extended attributes to avoid having them accumulate? Or maybe just make the -u flag default to on. --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216127-6-FO0XzCP0f9>