From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Alfred M. Szmidt" Newsgroups: gmane.emacs.devel Subject: Re: vc-git bug with top-level repositories Date: Wed, 27 Aug 2008 17:17:19 -0400 Message-ID: References: <200808181433.m7IEX8U3028640@sallyv1.ics.uci.edu> <200808181639.m7IGd1kb005968@sallyv1.ics.uci.edu> <200808182031.m7IKVbR7001754@sallyv1.ics.uci.edu> Reply-To: ams@gnu.org NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1219871956 30397 80.91.229.12 (27 Aug 2008 21:19:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Aug 2008 21:19:16 +0000 (UTC) Cc: claus.klingberg@gmail.com, eliz@gnu.org, dann@ics.uci.edu, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 27 23:20:10 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KYSQz-00010r-Kj for ged-emacs-devel@m.gmane.org; Wed, 27 Aug 2008 23:20:09 +0200 Original-Received: from localhost ([127.0.0.1]:60459 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYSQ1-0004uB-BP for ged-emacs-devel@m.gmane.org; Wed, 27 Aug 2008 17:19:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KYSPh-0004oZ-P0 for emacs-devel@gnu.org; Wed, 27 Aug 2008 17:18:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KYSPh-0004oF-66 for emacs-devel@gnu.org; Wed, 27 Aug 2008 17:18:49 -0400 Original-Received: from [199.232.76.173] (port=36475 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYSPg-0004o5-UJ for emacs-devel@gnu.org; Wed, 27 Aug 2008 17:18:49 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:39822) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KYSPg-0006Pf-Nh for emacs-devel@gnu.org; Wed, 27 Aug 2008 17:18:48 -0400 Original-Received: from ams by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KYSOF-0003Eo-0l; Wed, 27 Aug 2008 17:17:19 -0400 In-reply-to: (message from Stefan Monnier on Wed, 27 Aug 2008 11:21:29 -0400) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:103051 Archived-At: > How about adding an extra check, where we check the write permissions > as well for the user and group? That is, if the user and the group > the user is member of, cannot write to the .git directory then we stop > traversing... I don't think this will fly: currently VC works even when you're looking at a project to which you don't have write access, so neither the files nor the .git might be writable. AFAIK, atleast for git, you must have write access, if you do not you cannot ceate a lock file.