[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Permissions to create db/transactions/0-1.txn

From: Konrad Rosenbaum <konrad_at_silmor.de>
Date: 2005-10-30 12:35:42 CET

On Saturday 29 October 2005 20:08, JoseLuis de la Rosa wrote:
> svn: Commit failed (details follow):
> svn: Can't create directory
> '/var/repos/proyectos/db/transactions/0-1.txn': Permission denied
>
> However I changed permissions to the directories of the repository and
> the message goes on, this is how the
>
> drwxrwxrwx 7 root root 4096 2005-10-29 19:40 proyectos
>
> drwxrwxrwx 2 root root 4096 2005-10-29 18:59 conf
> drwxrwxrwx 2 root root 4096 2005-10-29 18:59 dav
> drwxrwsrwx 5 root root 4096 2005-10-29 18:59 db

Nice, but what does db/transactions look like?

..actually you should not make everything world writable, but instead change
the owner to Apache - for Debian this would be:

cd ..../proyectos
chown -R www-data .

(-R means recurse into subdirectories, www-data is Apaches username, replace
it with whatever is correct on your system)

to correct you permissions above back to normal: chmod -R go-w .

man chown
man chmod

        Konrad

  • application/pgp-signature attachment: stored
Received on Sun Oct 30 12:37:58 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.