Return-Path: X-Original-To: apmail-subversion-users-archive@minotaur.apache.org Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 681D47E4C for ; Tue, 1 Nov 2011 23:54:54 +0000 (UTC) Received: (qmail 61372 invoked by uid 500); 1 Nov 2011 23:54:53 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 61350 invoked by uid 500); 1 Nov 2011 23:54:53 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 61343 invoked by uid 99); 1 Nov 2011 23:54:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2011 23:54:53 +0000 X-ASF-Spam-Status: No, hits=-0.6 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mels630@gmail.com designates 209.85.212.43 as permitted sender) Received: from [209.85.212.43] (HELO mail-vw0-f43.google.com) (209.85.212.43) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2011 23:54:44 +0000 Received: by vws13 with SMTP id 13so2658758vws.30 for ; Tue, 01 Nov 2011 16:54:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=FxKN1swA2IpjQp2Ar0Lz42BSLRRvsB/HX1imLaGTbRU=; b=B4v+2rgIAyFFFWggQEblpL8pRr/EYluuWyC1rniNpVOKsogLuSyycnyfkYlH1mu33X uZl3V2hG9+9jq+cDoE5QU06hYliQ3JhjwHTlVvYZ4Iv4T2cgj6SDxklxdLquHu36OvLr 4yjoQ58BP2dYRI1BnJHTdpUzIzjSO9xjIQNsg= Received: by 10.52.28.39 with SMTP id y7mr1955022vdg.46.1320191663149; Tue, 01 Nov 2011 16:54:23 -0700 (PDT) Received: from [192.168.0.30] (cpe-74-73-157-175.nyc.res.rr.com. [74.73.157.175]) by mx.google.com with ESMTPS id el1sm757238vdc.13.2011.11.01.16.54.21 (version=SSLv3 cipher=OTHER); Tue, 01 Nov 2011 16:54:22 -0700 (PDT) Message-ID: <4EB086AD.2030309@gmail.com> Date: Tue, 01 Nov 2011 19:54:21 -0400 From: mels630 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110922 Thunderbird/3.1.15 MIME-Version: 1.0 To: Nico Kadel-Garcia CC: users@subversion.apache.org Subject: Re: commit issue after computer crash / rebuild References: <4EAF386F.5090809@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 10/31/2011 10:17 PM, Nico Kadel-Garcia wrote: > On Mon, Oct 31, 2011 at 8:08 PM, mels630 wrote: >> I maintain a personal SVN server on a separate partition of my hard drive >> (/media/SVN) (with both remote and local access). Recently, I blew up my >> main partition while trying to upgrade Ubuntu and am just getting everything >> working again. >> >> My data directories on my home partition were not affected after the last >> unsuccessful upgrade attempt. I ended up creating a new partition out of >> empty space and putting down a fresh Ubuntu install there. Then I copied my >> data directories onto this new partition. I reinstalled SVN and >> re-established access to my SVN server, seemingly with no problem. >> >> From my data (/home/XXX/Work) directory, I can successfully update my local >> copy of my "Work" repository, however, when I attempt to commit new data, I >> get the following error: >> >> XXX@YYY:~/Work$ svn commit -m "Test commit 2" >> svn: Commit failed (details follow): >> svn: Can't open file '/media/SVN/Work/db/txn-current-lock': Permission >> denied > How are you accessing it? And have you checked the group id's on that > '/media/SVN/Work/db/' directory to match what you want? For example, > if you're using Apache access, you'll need to set the group ownerships > of db and its subdirs as "2775", with the same gid as the Apache > daemon uses. And when you "commit data" , are you also using Apache? > Or are you using your own user, and your own user doesn't have the > same group membership? > Thank you, Nico. You put me on the right track. When I reinstalled apache / svn, the group www-data was assigned a different group id. While my username was part of the www-data group, some of the files in /media/SVN/Work/db/ were identified as part of the group 1001, which was no longer assigned to the www-data group. Once I fixed this, I was able to commit via "file:///" as well as Apache. >> However, I don't think permissions are the issue. From this same data drive, >> I can checkout a new version of the repository (say, to ~/temp/Work), add a >> new file there, and successfully commit a new revision without any trouble. >> >> Is there are way to fix whatever ails my Work directory so that I can commit >> from there without starting over again? I've got a number of files I've >> changed since my last commit, along with a lot of "raw" data (pdfs, image >> files, etc.) that are kept out of the repository (I use svn:ignore so that I >> don't see them most of the time for svn purposes) and would rather not have >> to move them all carefully into a new copy of the repository. >> >> Thanks for any suggestions. >> >>