From owner-freebsd-questions@FreeBSD.ORG Mon Sep 5 15:49:01 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0CC9106566B for ; Mon, 5 Sep 2011 15:49:01 +0000 (UTC) (envelope-from joeb1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 806BD8FC0A for ; Mon, 5 Sep 2011 15:49:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; q=dns/txt; s=DKIM-NAME-SERVICES; d=a1poweruser.com; h=From:To:Cc:Subject:Message-ID:X-Sender:X-Envelope-From; l=500; bh=TekjxiyzSb/SZ4Uj/+gJEbnpmNmSigvGXgu+6KgNduA=; b=goVS9GH7KPWvP+c+152+dk+luaEoId10rJZfS6DJR5adagvaHL/QCgN0ynez7jHEtGrOJhszlNQvOglcc/Obzo96nxnw/Y0JuFSxAs4bBil4U8SB4Zs0HoOUGU0c2t6YRBWzlXemODyA5DUsl+iCVNrysKAB4p/fIYnpPkpewX0= Received: from laptop ([76.240.47.196]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 5 Sep 2011 08:32:01 -0700 From: "joeb1" To: "Questions@Freebsd. Org" Date: Mon, 5 Sep 2011 11:32:05 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6090 Importance: Normal X-OriginalArrivalTime: 05 Sep 2011 15:32:01.0685 (UTC) FILETIME=[F528F450:01CC6BE0] X-Sender: joeb1@a1poweruser.com X-Envelope-From: joeb1*a1poweruser.com Cc: Subject: cpio command and schg flags X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: joeb1@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Sep 2011 15:49:01 -0000 I am trying to use this code sequence to clone a directory tree. mkdir /usr/test1 cd /var find . | cpio -dmp /usr/test1 The result is /usr/test1 gets populated with the directory tree but all the schg flags get stripped off. How can I keep the schg flags in the cloned directory?