delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/14/08:45:24

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=BAYES_00,FORGED_HOTMAIL_RCVD2,FREEMAIL_FROM,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL,UNPARSEABLE_RELAY
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
connect(): No such file or directory
From: Greg Mo <gregmo69 AT hotmail DOT com>
Subject: Windows 7 file permissions and ls -l
Date: Fri, 14 May 2010 12:43:46 +0000 (UTC)
Lines: 18
Message-ID: <loom.20100514T143425-491@post.gmane.org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
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

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.  However, after 
a period of time, I went to edit one of those files in vi and it said that the 
file is read-only.  I did an ls -l and was shocked to find that many of the 
directories have been changed to d--------- and files to ----------, which I 
did not do.  The only way that I can change those permissions is to open an 
rxvt/bash window in administrator mode and then chmod, even though I am listed 
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 and 
does anyone know what to do to stop it?

Thanks,
Greg



--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019