From owner-freebsd-questions@FreeBSD.ORG Fri Dec 19 03:31:19 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62B0E106564A for ; Fri, 19 Dec 2008 03:31:19 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f19.google.com (mail-bw0-f19.google.com [209.85.218.19]) by mx1.freebsd.org (Postfix) with ESMTP id DFDA88FC08 for ; Fri, 19 Dec 2008 03:31:18 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by bwz12 with SMTP id 12so2143159bwz.19 for ; Thu, 18 Dec 2008 19:31:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=hR49Sl7n6n18185V4yIm2XEQQ6qMo354o+3O6HtIYd4=; b=L4URGLvkrw5UNFZSgIoPRySIn+cz5wgqFM8FeremyAcC2YYxkcTzgFBI5dzNEl5pcT i+30JVPmAyFSEn6chRFX8E/0i6btaIcWc8c0Ltet/2G4FpMuuiiWmv8hdpuMEpgvfg8o NomOzngMw2l7E2kRUO7jWv7Sat8PF80oolVp4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=TvX+FeiA9v810LJ8WRT0JKN71AuRU5Fle/BqqM4XnpYBf1/0YBajNBQ8p0Zq7onXDd T0cd4CglI9Jvb040/t+ACq7XEOzXUV0R4aKWByDMWQhdKHwuczIuZs+CltmXhVcFHdxE 42Wch5LlnlLpytdvGFqwIGEt8aCJTGcM1P/HU= Received: by 10.103.193.13 with SMTP id v13mr1055988mup.125.1229657477321; Thu, 18 Dec 2008 19:31:17 -0800 (PST) Received: by 10.103.91.11 with HTTP; Thu, 18 Dec 2008 19:31:17 -0800 (PST) Message-ID: <4ad871310812181931l20d0fae2p9885d946f329054c@mail.gmail.com> Date: Thu, 18 Dec 2008 22:31:17 -0500 From: "Glen Barber" To: BSD_Newbie In-Reply-To: <21085175.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <21085175.post@talk.nabble.com> Cc: freebsd-questions@freebsd.org Subject: Re: Unable to delete directory even after change of ownership. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Dec 2008 03:31:19 -0000 On Thu, Dec 18, 2008 at 10:27 PM, BSD_Newbie wrote: > > e) as root, executed the following command. > chown svn:repo_admin /home/my_repos > > f) verified that the file permissions for /home/my_repos is correctly set > after the change in ownership. > > > Here is the problem I encountered > When I log in as svn, I am placed in the folder /home/svn. > As svn, when I try to delete the folder (/home/my_repos), I get the error > "Permission denied". > > Why do I get this error when I (svn) am the owner of that directory? > > However, I have no problem deleting a directory under /home/svn. > My guess is you should've used the -r flag with chown (recursive). -- Glen Barber