From owner-freebsd-ports@freebsd.org Sun Jun 4 17:21:00 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A9A30B8291C for ; Sun, 4 Jun 2017 17:21:00 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.231]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cdptpa-oedge", Issuer "cdptpa-oedge" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7071E7D2C2 for ; Sun, 4 Jun 2017 17:20:59 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from [65.186.81.207] ([65.186.81.207:36653] helo=raspberrypi.bildanet.com) by cdptpa-omsmta02 (envelope-from ) (ecelerity 3.6.9.48312 r(Core:3.6.9.0)) with ESMTP id B5/DC-20123-A7144395; Sun, 04 Jun 2017 17:20:58 +0000 Received: from [192.168.1.143] (helo=desktop.example.com) by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from ) id 1dHZCz-0000yc-Mh for freebsd-ports@freebsd.org; Sun, 04 Jun 2017 13:20:57 -0400 Subject: Re: svnlite barfing when updating from repo To: freebsd-ports@freebsd.org References: From: Baho Utot Message-ID: <97214fd6-de70-de05-1c37-404b2bb58a0b@columbus.rr.com> Date: Sun, 4 Jun 2017 13:20:57 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.7:25 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jun 2017 17:21:00 -0000 On 06/04/17 13:11, Peter Beckman wrote: > --> svn: E000013: Can't remove file > '/usr/home/FreeBSD/source/ports/head/net-im/mastodon/files/patch-bin_yarn': > Permission denied > > If you cannot remove the file, then you do not have the "proper" > permissions in that > directory -- not the top level, but at the leaf node > (.../net-im/mastodon/files/). > > You need write permission on the immediate parent directory to remove a > file. > > One other possibility -- if the sticky bit is set on the parent directory, > ONLY the user that owns the file will be able to delete it. > This repository was created with svnlite co (etc) so how would all of a sudden it would incure these problems? I just got done fixing this repo again for this month and next month when I do a svnlite up I will see this again as it has happened every month from January to now. I do not change anything between update as I use rsync to copy it to a directory just for synth use. This repo only gets changed bu svnlite. This is quite aggravating as it it always multiple directories that have this issue. > > On Sun, 4 Jun 2017, Baho Utot wrote: > >> when I am update my ports repo like this >> >> svnlite co "https://svn.freebsd.org/ports/head" "/usr/src/ports" >> >> svn: E155009: Failed to run the WC DB work queue associated with >> '/usr/home/FreeBSD/source/ports/head/net-im/mastodon/files', work item >> 132774 (file-remove net-im/mastodon/files/patch-bin_yarn) >> svn: E000013: Can't remove file >> '/usr/home/FreeBSD/source/ports/head/net-im/mastodon/files/patch-bin_yarn': >> Permission denied >> >> What causes this? >> I am updating the repo as a regular user and not root and the >> directory has the proper perms. >> >> I am getting this after I update a repo ( i do this once a month ) and >> it was fine last moth and now I get multiple failures. After: >> rm -rf /usr/home/FreeBSD/source/ports/head/net-im/mastodon/files/; >> svnlite cleanup; >> svnlite co "https://svn.freebsd.org/ports/head" "/usr/src/ports" >> >> It will run until it finds another perm problem so I have to >> shampoo,rinse,repeat until the local repo is finally updated