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 Subject: Windows 7 file permissions and ls -l Date: Fri, 14 May 2010 12:43:46 +0000 (UTC) Lines: 18 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: 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 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