Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Fri, 6 Sep 2002 09:34:12 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Can't write any.files from vi Message-ID: <20020906093412.A1574@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20020906064505 DOT 7B4B45AAA AT ivory DOT research DOT canon DOT com DOT au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020906064505.7B4B45AAA@ivory.research.canon.com.au> User-Agent: Mutt/1.3.22.1i On Fri, Sep 06, 2002 at 04:45:14PM +1000, luke DOT kendall AT cisra DOT canon DOT com DOT au wrote: > And in particular: > > $ vi .Xresources # Verify that I can't write it. > $ attrib .Xresources > H D:\home\luke\.Xresources > $ attrib -h .Xresources > $ attrib .Xresources > D:\home\luke\.Xresources > $ vi .Xresources # Check if I can now write it? Yes! > > Hidden files are meant to have the same semantics as "." files in Unix, > I thought? If so, then I think it's an error that vi is considering > them to be unwriteable. > > The reason for marking such files as hidden is the same as in Unix - to > prevent accidental fiddling. > > An interesting question is, why does it seem to be only vi (vim) that > exhibits this behaviour? It's vim 6.1, BTW. I'm using vim 6.1 as well, obviously and changing the hidden attribute doesn't change the behaviour of vim: $ vi .cshrc # change, save works $ attrib +H .cshrc $ vi .cshrc # change, save works $ attrib -H .cshrc $ vi .cshrc # change, save works There's another permission problem somewhere. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- 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/