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

Re: Could svn_backend check permissions?

From: Marc Singer <elf_at_buici.com>
Date: 2003-09-06 03:25:36 CEST

On Fri, Sep 05, 2003 at 03:46:35PM -0400, Greg Hudson wrote:
> On Fri, 2003-09-05 at 15:21, Philip Martin wrote:
> > - In normal use a user needs to be able to create new log files,
> > verifying that this is possible involves checking directory
> > permissions all the way back to root.
>
> Really? If we can stat() the directory at all, then only the mode bits
> on that directory should affect whether we can create files there.

I think you are right. Stat'ing that target is sufficient.

But that isn't all. Don't we also need to be able write to existing
log file?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Sep 6 03:26:24 2003

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

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