Mail Archives: cygwin/2002/09/06/03:34:31
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/
- Raw text -