delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <47C9FB7F.C551C573@dessent.net> |
Date: | Sat, 01 Mar 2008 16:57:35 -0800 |
From: | Brian Dessent <brian AT dessent DOT net> |
X-Mailer: | Mozilla 4.79 [en] (Windows NT 5.0; U) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: full control for non owner and resulting 'cp' created file perms |
References: | <200803012102 DOT m21L276p016693 AT tigris DOT pounder DOT sol DOT net> <47C9CE74 DOT 39293530 AT dessent DOT net> <200803020039 DOT m220dPWW010681 AT tigris DOT pounder DOT sol DOT net> |
X-IsSubscribed: | yes |
Reply-To: | cygwin AT cygwin DOT com |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Tom Rodman wrote: > slight, change in topic - if one uses cygwin setfacl to add multiple > acls ( say rwx access to 4 different users, one acl per user ) > to a file, is there a way to copy a file using > cygwin in a way that preserves these? cp -p alone won't, but you could always do e.g. $ cp -p file file2 && setfacl -f <(getfacl file) file2 I suppose "xcopy /o" is also an option, but obviously that won't grok POSIX paths. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |