From owner-freebsd-stable Sun Dec 22 21:47: 1 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C275137B401 for ; Sun, 22 Dec 2002 21:46:59 -0800 (PST) Received: from spider.netmails.net (dsl-65-189-239-65.telocity.com [65.189.239.65]) by mx1.FreeBSD.org (Postfix) with SMTP id 0087143EDE for ; Sun, 22 Dec 2002 21:46:56 -0800 (PST) (envelope-from subscr@spider.netmails.net) Received: (qmail 10508 invoked by uid 1014); 23 Dec 2002 05:46:03 -0000 Date: Sun, 22 Dec 2002 23:46:03 -0600 From: Hari Bhaskaran To: freebsd-stable@freebsd.org Subject: Losing schg flags on tar/un-tar Message-ID: <20021222234603.A10494@spider.netmails.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I was following the vinum setup instructions at http://org.netbase.org/vinum-mirrored.html and as part of it, I had to create a new /var in a vinum mirrored volume. Once I created the fs, I copied over all the contents of existing /var onto it via the command cd / mount /dev/vinum/var /mnt/var tar -cf - -C /var . | tar -xpf - -C /mnt/var However, while trying to remove the old /var, I figured out I couldn't remove /var/empty (which was then renamed as /var.old/empty. I realised it is because of schg flags on the directory. The new /var doesn't have this flag set either. I was able to delete and create it again. So what other info could I have lost with this tar/un-tar process? Is there a list of 'must have' file permissions somewhere that I can cross check against? Any help is appreciated -- Hari Bhaskaran To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message