Date: Mon, 23 Dec 2002 23:08:39 -0600 From: Hari Bhaskaran <subscr@spider.netmails.net> To: Erminio Baranzini <ebaranz@swissonline.ch> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Losing schg flags on tar/un-tar Message-ID: <20021223230839.A15070@spider.netmails.net> In-Reply-To: <87fzsoyhew.fsf@stati11.pr.net.ch>; from ebaranz@swissonline.ch on Mon, Dec 23, 2002 at 02:49:11PM %2B0100 References: <20021222234603.A10494@spider.netmails.net> <87fzsoyhew.fsf@stati11.pr.net.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 23, 2002 at 02:49:11PM +0100, Erminio Baranzini wrote: > You should try star, which preserves schg flags. Doesn't help. See below. # rmdir /var/empty rmdir: /var/empty: Operation not permitted # mkdir /fs1/var # star -c -Hexustar -acl -xfflags -C /var . | star -xp -acl -xfflags -C /fs1/var star: 'run/log' unsupported file type 'socket'. Not dumped. <-- Fine, no concern. star: current './' newer. star: 68 blocks + 0 bytes (total of 696320 bytes = 680.00k). star: The following problems occurred during archive processing: star: Cannot: stat 0, open 0, read/write 0. Size changed 0. star: Missing links 0, Name too long 0, File too big 0, Not dumped 1. star: Processed all possible files, despite earlier errors. star: 68 blocks + 0 bytes (total of 696320 bytes = 680.00k). # rmdir /fs1/var/empty <--- Wasn't this supposed to fail? # <--- it didn't. # star -version star 1.4.1 (i386-unknown-freebsd4.7) I repeated the test, with & without -acl and -xfflags (in all combinations) No big deal, /var/empty seems to be the only 'special' file I need to 'chflags' manually, but it would have nice if I could be 'sure' of this. # mkdir /fs1/var/empty # chflags schg /fs1/var/empty # rmdir /fs1/var/empty rmdir: /fs1/var/empty: Operation not permitted # > > Erminio Baranzini -- Hari Bhaskaran To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021223230839.A15070>