delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/04/09/20:35:40

X-Spam-Check-By: sourceware.org
Date: Mon, 09 Apr 2007 17:34:35 -0700
From: Sergio Del Rio <Sergio DOT Del DOT Rio AT t4bi DOT com>
Subject: RE: Vista File Permission Problems
In-reply-to:
To: Cygwin <cygwin AT cygwin DOT com>
Message-id: <5111EFAF24D2438C9FA88F3EB729E190@csdr.ca>
MIME-version: 1.0
X-Mailer: Microsoft Office Outlook 11
References:
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 successfully installed the application under Vista Business.

I ran the following commands as I use a Windows 2003 Domain server at my
office:

       mkpasswd -l -d > /etc/passwd
       mkgroup -l -d > /etc/group

Now, the permissions look correct.

The strange behaviour I am getting now is that I can only edit a file one
time.

I edit the file the first time with vim, then I try to save it and it says
it is a read-only file. I then use w! and it write the file properly.
However, if I go back into the file again, w! gives me the following error:

E212: Can't open file for writing

I should point out that I have this running well on other systems in the
same office with no problems (but not running Vista). Also it looks like the
file permission flags on the files are not setup properly and show up as
being unset. Of course I can't change them because I get permission errors.

Does anyone know what is going on here or how I can fix this?

Regards,
Sergio Del Rio
Templates 4 Business Inc.
Phone: (604) 529-1544
Cell: (604) 788-3604
Fax: (604) 676-2562
Web: http://www.t4bi.com



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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