From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Abrahams Newsgroups: gmane.emacs.devel Subject: vc-mode permission problems with recent CVS Date: Tue, 09 Sep 2003 11:04:37 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1063120928 22072 80.91.224.253 (9 Sep 2003 15:22:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 9 Sep 2003 15:22:08 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Sep 09 17:22:06 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19wkJi-0006Vw-00 for ; Tue, 09 Sep 2003 17:22:06 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19wkW6-0006Be-00 for ; Tue, 09 Sep 2003 17:34:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19wkJV-0003UL-FZ for emacs-devel@quimby.gnus.org; Tue, 09 Sep 2003 11:21:53 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 19wk9R-00083h-2k for emacs-devel@gnu.org; Tue, 09 Sep 2003 11:11:29 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 19wk51-0006Q9-Em for emacs-devel@gnu.org; Tue, 09 Sep 2003 11:06:56 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19wk3m-00065k-FU for emacs-devel@gnu.org; Tue, 09 Sep 2003 11:05:38 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19wk46-000204-00 for ; Tue, 09 Sep 2003 17:05:58 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19wk45-0001zw-00 for ; Tue, 09 Sep 2003 17:05:57 +0200 Original-Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19wk3k-0005B1-00 for ; Tue, 09 Sep 2003 17:05:36 +0200 Original-Lines: 34 Original-X-Complaints-To: usenet@sea.gmane.org User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) Cancel-Lock: sha1:975VLeISLZgqb8yLgB7hDTrQeUo= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16240 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16240 I normally have CVSREAD set in my environment so that files are checked out read-only by default. After building emacs from the CVS HEAD as of a few days ago, `C-x v v' on an *un-edited* write-protected file under source control yields the following messages: File is edited but read-only; making it writable File is under version-control; use C-x v v to check in/out The result makes the buffer writable, and even if I kill it the file will be re-opened with a writable buffer, yet when I try to save the file I get: basic-save-buffer-2: Opening output file: permission denied, c:/boost/tools/build/build_system.htm At this point, I have: c:\boost\tools\build>attrib build_system.htm A C:\boost\tools\build\build_system.htm c:\boost\tools\build>ls -l build_system.htm -r--r--r-- 1 dave None 56900 Sep 8 11:05 build_system.htm A manual "cvs edit build_system.htm" properly changes the files permissions, so my guess is that vc-mode is mising the fact that the file is actually unedited and thus never performing the edit command. Quick workarounds are very much appreciated as this seriously interferes with my workflow! TIA, -- Dave Abrahams Boost Consulting www.boost-consulting.com