delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=0.1 required=5.0 tests=AWL,BAYES_20,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <loom.20100514T143425-491@post.gmane.org> |
References: | <loom DOT 20100514T143425-491 AT post DOT gmane DOT org> |
Date: | Sat, 15 May 2010 14:15:51 +0400 |
Message-ID: | <AANLkTimHu03MXmiuzPIVRc1SGck1DsyEMiBrJih3btVo@mail.gmail.com> |
Subject: | Re: Windows 7 file permissions and ls -l |
From: | Vorfeed Canal <vorfeed DOT canal AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
I see this problem too. I believe something wrong is with cygwin1.dll. I'm not sure about your case, but in my case these are all files created by regular Windows (non-cygwin) programs. The owner does not get any special rights in my version of Windows 7! Instead the pseudo-group "Authenticated User" gets all the rights. Very annoying: if the cygwin program just tries to do the operation it succeeds, but if the program calls stat and checks the permissions it believes it has no rights at all and refuses to work. Easy to fix from outside of cygwin (without admin rights), but I've found no way to do this from inside of cygwin if you have no administrator access :-( On Fri, May 14, 2010 at 4:43 PM, Greg Mo <gregmo69 AT hotmail DOT com> wrote: > I have an odd occurrence on my Win 7 x64 system with Cygwin 1.7.5. > > When I create files, I may set the permissions to 644 or 755. =A0However,= after > a period of time, I went to edit one of those files in vi and it said tha= t the > file is read-only. =A0I did an ls -l and was shocked to find that many of= the > directories have been changed to d--------- and files to ----------, whic= h I > did not do. =A0The only way that I can change those permissions is to ope= n an > rxvt/bash window in administrator mode and then chmod, even though I am l= isted > as the owner. > > I don't see a pattern to which files get changed and which are left alone. > > Is anyone else having this windoze automagic permission change scenario a= nd > does anyone know what to do to stop it? > -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |