Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <01C1004A.CEE3CCA0.jorgens@coho.net> From: Steve Jorgensen Reply-To: "jorgens AT coho DOT net" To: "cygwin AT cygwin. Com (E-mail)" Subject: Steve J's latest bonehead realization Date: Fri, 29 Jun 2001 03:22:37 -0700 X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Today, I did the research necessary to figure out how I could back up the permissions for files in Cygwin, so I can rebuild them after copying the files to ext2 under linux: find mydirectory -fprintf mydirectory.chmod "chmod %m \"%p\"\n" Pretty neat, but why didn't I just tar the directory? I guess it's because I had started out from the incorrect assumption that the attributes I needed had already been lost during CVS checkout under Cygwin, and I never got back to the obvious track after that. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/