delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/02/23:40:49

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Tue, 3 Sep 2002 13:40:34 +1000 (EST)
From: luke DOT kendall AT cisra DOT canon DOT com DOT au
Subject: Can't write .profile from vi
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Message-Id: <20020903034031.D4ED6588D@ivory.research.canon.com.au>

My ~/.profile file is the only one I've found with this problem.
As far a I can see, I have write permission, I am me, but I'm not
allowed to write the file from vi!  I have to write it into another
file in my home directory and then cp that on top of .profile!

$ vi ~/.profile

-rwxr-xr-x    1 luke     Domain U     4327 Aug 30 10:40 /home/luke/.profile
Hit ENTER or type command to continue
uid=11021(luke) gid=10513(Domain Users) groups=10513(Domain Users)
"~/.profile"
"~/.profile" E212: Can't open file for writing
Hit ENTER or type command to continue

I'm using /usr/bin/vi from the Cygwin installation.

luke


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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