From owner-freebsd-ports@freebsd.org Sun Jun 4 17:11:13 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 3A461B8254F for ; Sun, 4 Jun 2017 17:11:13 +0000 (UTC) (envelope-from beckman@angryox.com) Received: from nog2.angryox.com (nog2.angryox.com [70.164.19.85]) by mx1.freebsd.org (Postfix) with ESMTP id 12CEA7CE6E for ; Sun, 4 Jun 2017 17:11:12 +0000 (UTC) (envelope-from beckman@angryox.com) Received: by nog2.angryox.com (Postfix, from userid 1001) id 1B56617448A8; Sun, 4 Jun 2017 17:11:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=angryox.com; s=powerfulgood; t=1496596266; bh=ksY7tUpCYIHwJxG1gIPWoslOSxeiGPS5Oev38TQsE/E=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=b0FX0nQFBP2wEN2o1xsIS4a92eSsZiiefKFAvfz0Ir/Sc846PvR7naD0jCvibQ073 +YXJr4uxi+q3Fpp3iQQFJNXti2KkAuZBvUJbtWQ9QW4SYE+YDVvskcqxxTQMCl8NLG h3xlE34HwWZfjpFi9mEqaOqLfY6zMh5og2HobwFg= Received: from localhost (localhost [127.0.0.1]) by nog2.angryox.com (Postfix) with ESMTP id 1A75417448A7; Sun, 4 Jun 2017 13:11:06 -0400 (EDT) Date: Sun, 4 Jun 2017 13:11:06 -0400 From: Peter Beckman To: Baho Utot cc: freebsd-ports@freebsd.org Subject: Re: svnlite barfing when updating from repo In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed 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:11:13 -0000 --> 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. Beckman 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 > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > --------------------------------------------------------------------------- Peter Beckman Internet Guy beckman@angryox.com http://www.angryox.com/ ---------------------------------------------------------------------------