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

Problem with permissions

From: Jano <alejandro_at_mosteo.com>
Date: 2004-07-21 11:06:17 CEST

Hi,

I'm trying to automate the backup of a repository via a cron job. The
setup is as follows:

The repository is accessed via Apache2, which is run under the nobody
disabled account. Hence, the repository is owned by nobody since it
doesn't work otherwise.

When I try to do manually an operation requiring svnadmin, I must su
root because if not I get:

svn: Berkeley DB error while opening environment for filesystem
/home/jano/svn/db: Permission denied

The same happens when I run my script: it only works if I'm root. I've
tried changing the owner to nobody or setting the setuid flag, but it
gives the same failure. I must note that the repository was created with
svnadmin as root.

I would want to run the script not under the root account, if possible.
Is there something I can do, or have I some misconfiguration in place?
Apart from this, everything works flawlessly.

Thanks in advance,

Alex.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 21 11:05:56 2004

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.