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

Re: is there any web script to execute "svn checkout" via web without accessing via shell?

From: h p <regnans_at_gmail.com>
Date: 2007-03-14 13:08:48 CET

thomas Armstrong wrote:
>> Is your apache server running as root ?! Probably not, that may
>> explain the fact that it can't write the file. (But I wonder why it
>> would have its home directory in /root)
> Nope, it's running as 'nobody' but I did:
> export USER=root
> export LOGNAME=root
> within the shell script executed
Well that doesn't automatically promote your user to root, which is a
good thing - otherwise everybody could get root access to your server in
that way!

two solutions: either you change the owner of your subversion root to
nobody (and move it outside of /root, this directory is not readable for
other users, even if you chmod a directory inside it it isn't read
because the parent is prohibited), or you take a look at the command "sudo".


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 14 13:09:16 2007

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.