X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:date:message-id:subject:from:to
	:content-type; q=dns; s=default; b=wPhXtQN8LRhYkxh0Li/nlkQO407j6
	UPfcuDboSOaRGrEwh3TxXc63LfSHc2NsjPtzIko0x1d/cbWZrpMHJ43wkGZr1EVA
	VXFmtm0oSEX+fNl4IO3RqvFIZ+lO4SVY5fQhJHuVeE6FOTs8I84RY/1yOSW5UTcA
	eypueZjUgLUyXQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:date:message-id:subject:from:to
	:content-type; s=default; bh=SvR9AcWay5aB5+VW+qMa9eWQxMo=; b=qLS
	5/IUn1E8/q3yhgejFB862zQM9+g0EoZhqbYUpqH5NHE9CXCBydBffsrnX35s/VwY
	xLiQmZPSLJqaRPK+CFEC1nqn2T/MruLKotWcZGzvBe7MheypQ7jqA9mCE2QOlP59
	b5Z1YOZYQowjZ1vMK0WqnLbeofkXS/yRHjo9TAe4=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,UNSUBSCRIBE_BODY autolearn=no version=3.3.2
X-HELO: mail-vc0-f179.google.com
MIME-Version: 1.0
X-Received: by 10.221.29.5 with SMTP id rw5mr7939693vcb.49.1412104001667; Tue, 30 Sep 2014 12:06:41 -0700 (PDT)
Date: Tue, 30 Sep 2014 21:06:41 +0200
Message-ID: <CA+7conmGOCHCubLE61jGDSrAEYi7qze-48RTJg3biodhTC4iVw@mail.gmail.com>
Subject: editing zip file in vim - E212: Can't open file for writing
From: Pawel Jasinski <pawel.jasinski@gmail.com>
To: cygwin <cygwin@cygwin.com>
Content-Type: text/plain; charset=UTF-8

I have tried to edit a zip file with vim.
I am able to open and edit, but no luck when saving.
The file is /home/rejap/foo.zip and I can write to it (create with zip).

"~/zipfile:/home/rejap/foo.zip::foo.txt" E212: Can't open file for writing

If I move file to / it works.
What am I doing wrong.

thanks for any help
--pawel

--
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

