From owner-freebsd-questions@FreeBSD.ORG Fri Dec 19 03:39:01 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 2EB50106564A for ; Fri, 19 Dec 2008 03:39:01 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id A973C8FC12 for ; Fri, 19 Dec 2008 03:39:00 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.13.1) with ESMTP id mBJ3b6sZ074927 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 19 Dec 2008 10:37:06 +0700 (ICT) (envelope-from on@banyan.cs.ait.ac.th) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.2/8.12.11) id mBJ3cwY0087814; Fri, 19 Dec 2008 10:38:58 +0700 (ICT) Date: Fri, 19 Dec 2008 10:38:58 +0700 (ICT) Message-Id: <200812190338.mBJ3cwY0087814@banyan.cs.ait.ac.th> From: Olivier Nicole To: glen.j.barber@gmail.com In-reply-to: <4ad871310812181931l20d0fae2p9885d946f329054c@mail.gmail.com> (glen.j.barber@gmail.com) References: <21085175.post@talk.nabble.com> <4ad871310812181931l20d0fae2p9885d946f329054c@mail.gmail.com> X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Cc: it_manager@gmx.com, 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:39:01 -0000 > > 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). Would be -R (upper case) I think. As for the error: what is the output of: ls -lo /home ls -lo /home/my_repos Olivier