From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 97783 invoked by alias); 24 May 2015 15:02:45 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 97775 invoked by uid 89); 24 May 2015 15:02:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.8 required=5.0 tests=BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 X-HELO: p3plsmtpa07-10.prod.phx3.secureserver.net Received: from p3plsmtpa07-10.prod.phx3.secureserver.net (HELO p3plsmtpa07-10.prod.phx3.secureserver.net) (173.201.192.239) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sun, 24 May 2015 15:02:34 +0000 Received: from [10.0.0.101] ([99.26.121.120]) by p3plsmtpa07-10.prod.phx3.secureserver.net with id Xr2Y1q0052bxR8r01r2Yxu; Sun, 24 May 2015 08:02:33 -0700 From: Duane Ellis Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: File permissions different inside and outside cygwin root Message-Id: Date: Sun, 24 May 2015 16:30:00 -0000 To: cygwin@cygwin.com Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) X-IsSubscribed: yes X-SW-Source: 2015-05/txt/msg00316.txt.bz2 (Sorry I cannot reply directly to the previous email I just subscribed to t= he list, I am quoting from the list archive) >> (from the archive - permissions inside and outside of /cygwin get messed= up) I think this is *THE* cause of my problems. My question is how do I turn this of 100% totally - and completely? How it is effecting me: In my case, I *OFTEN* edit source code using =E2=80=98emacs-w32=E2=80=99 un= der cygwin. and often refer to files via a filename like this /cygdrive/c/some/path/fo= o.c Sadly what happens in the end is, the ACL gets set to the point where I can= not edit source files. Another common example is this: Step 1: On Linux - create a =E2=80=9Ctar.gz=E2=80=9D of a source director= y. tar cfz foo.tar.gz somedirectory (In my case, it is an open source package that *must* build under both cygw= in and linux) I need to move the code back and forth - to make sure my changes don=E2=80= =99t break things Step 2: Pull that tar file over to Cygwin (I use cygwin64) Step 3: Unpack the tar.gz file using CYGWIN tar xfz foo.bar.tz Step 4:=09 I specifically use =E2=80=9Cemacs-w32=E2=80=9D - to edit the source code. It seems that *randomly* the ACL gets totally bunkered Maybe there is a method to this madness, but I can=E2=80=99t figure out th= e exact sequence I am *NOT* building or doing this under any Cygwin mount I should not need to, and I should not be required to I specifically use: /cygdrive/c/some/path/ **NOTE** This does not *require* the =E2=80=98tar-copy=E2=80=99 method=20 Using CYGWIN - I =E2=80=9Cgit clone=E2=80=9D some repository and edit th= e files in the standard way It seems to be more predominant when I copy via TAR across systems. Result: I can no longer edit my source code. I would end up having to =E2=80=9Cright click=E2=80=9D permissions and fix= things using windows tools It seems the ACLs are totally messed up Bottom line, my expected behavior I should be able to use a simple editor - i.e.: Emacs-w32 I should be able to edit a source code file When I save the source code file - the permissions *before* and *after* sh= ould be identical They are not, permissions are totally messed up. What ever I am seeing, it is fundamentally broken. -Duane. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple