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

Re: [0775]can we ctrl svn security mask?

From: Zoom Quiet <zoom.quiet_at_gmail.com>
Date: 2006-01-10 14:31:07 CET

2006/1/10, Ryan Schmidt <subversion-2006Q1@ryandesign.com>:
> On Jan 10, 2006, at 13:35, Ryan Schmidt wrote:
>
> > On Jan 10, 2006, at 07:52, Zoom Quiet wrote:
> >
> >> it working good, BUT! i commit in windows through TortoriseSVN,
> >> when autoco,
> >> that aim dir file is all
> >> -rw-r--r-- 1 root wheel
> >> ?!??! how can i make svn update out file is all 755 www:www ?
> >
> > Sounds like your asking this question:
> >
> > "How do I get Subversion to set the execute bits on a file when I
> > check out or update?"
> >
> > The answer is that you need to set the svn:executable property on
> > the file.
> >
> > $ svn propset svn:executable ON somefile.sh
>
> Sorry; I see you also asked how to get the file owned by www:www. The
> answer is that Subversion can't do that. If you want the files to be
> owned by www, you'll have to run the "svn up" command as the www user.
>
i understander like this:
all the hookscript is call by svnserve,
so means the hooks call 's shell script or python script eq. call by
the svnserve's call user.
so so ,if i start svnserve by root, so in fact the hookscript is call
by root user ?!
that make svn up out files became root: and 544

so can i start scnserve by www, can fixed this?
so my question means :
"can svnserve running by not root user"??

thanx for all

>

--
# Time is unimportant, only life important!
## 面朝开源,我心自由!
Received on Tue Jan 10 15:06:53 2006

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.