This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Windows 7 file permissions and ls -l
- From: Greg Mo <gregmo69 at hotmail dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 14 May 2010 12:43:46 +0000 (UTC)
- Subject: Windows 7 file permissions and ls -l
- Connect(): No such file or directory
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