Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Dec 2008 10:38:58 +0700 (ICT)
From:      Olivier Nicole <on@cs.ait.ac.th>
To:        glen.j.barber@gmail.com
Cc:        it_manager@gmx.com, freebsd-questions@freebsd.org
Subject:   Re: Unable to delete directory even after change of ownership.
Message-ID:  <200812190338.mBJ3cwY0087814@banyan.cs.ait.ac.th>
In-Reply-To: <4ad871310812181931l20d0fae2p9885d946f329054c@mail.gmail.com> (glen.j.barber@gmail.com)
References:  <21085175.post@talk.nabble.com> <4ad871310812181931l20d0fae2p9885d946f329054c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812190338.mBJ3cwY0087814>