Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: From: Bertrand DOT POULAIN AT fr DOT thalesgroup DOT com To: cygwin AT cygwin DOT com Subject: RE: Cygwin & NFTS Date: Fri, 14 May 2004 10:05:23 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i4E84SXG014947 "cp -p" doesn't work better ! But "mv" put the good rights (NTFS)on the file ... How do you explain it ? -----Message d'origine----- De: Corinna Vinschen [mailto:corinna-cygwin AT cygwin DOT com] Date: jeudi 13 mai 2004 11:55 À: cygwin AT cygwin DOT com Objet: Re: Cygwin & NFTS On May 13 10:37, Bertrand DOT POULAIN AT fr DOT thalesgroup DOT com wrote: > I work with Cygwin 1.5.9-1 on W2K Server SP3 (NTFS file system) inside an > Active Directoy domain. > > I want to copy this file with Cygwin : > > ----------+ 1 toto gtoto 65925 May 13 05:49 myfile.log > > to another directory. > > The W2K group DOMAIN ADMINISTRATOR have full access on this file (and > directory). The user TOTO is in this group (W2K and CYGWIN). > > The copied file is : > > ---------- 1 toto gtoto 65925 May 13 09:57 myfile.log > > and none access with W2K rights. > > Where is the problem ? cp(1) doesn't copy ACLs, just the standard POSIX permissions. I'm not quite sure if it does when using the -p option but it might be worth a try. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Co-Project Leader mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- 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/ -- 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/