From owner-freebsd-questions@FreeBSD.ORG Fri Dec 19 03:27:44 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 427581065670 for ; Fri, 19 Dec 2008 03:27:44 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 229958FC1A for ; Fri, 19 Dec 2008 03:27:44 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LDW1f-0000kq-C1 for freebsd-questions@freebsd.org; Thu, 18 Dec 2008 19:27:43 -0800 Message-ID: <21085175.post@talk.nabble.com> Date: Thu, 18 Dec 2008 19:27:43 -0800 (PST) From: BSD_Newbie To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: it_manager@gmx.com Subject: 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:27:44 -0000 Hi. I have a quick question about chown and how it works. My setup: * Freebsd 7-RELEASE-p6 (on i386) * /home on separate slice. Here is what I am trying to do: In the folder called /home, I want to store my subversion repository. While working on this, I encountered a unique/inexplicable behavior. This is what I have done so far: a) as root, created a group called repo_admin. b) as root, created an user called svn c) adduser utility created a home directory for user svn under /home (i.e. /home/svn) d) as root, created a directory called my_repos under /home (i.e. /home/my_repos) Now owner and group are root and wheel respectively 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. Thanks in advance for your help. -- View this message in context: http://www.nabble.com/Unable-to-delete-directory-even-after-change-of-ownership.-tp21085175p21085175.html Sent from the freebsd-questions mailing list archive at Nabble.com.