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

Re: Should svnserve set umask to 002?

From: <ghudson_at_MIT.EDU>
Date: 2003-01-23 21:50:20 CET

On Thu, 2003-01-23 at 14:55, Neil Schemenauer wrote:
  The right answer is: after repository creation, when a log file is
  created by the FS layer, it should be chmodded to the same permissions
  as the database.
 Does that introduce a race condition?

In terms of multi-user operation, I think log files are only created
during locked operations, so not really.

In terms of system crashes: sort of. If the system crashes after the
file creation is committed to disk and before the chmod operation is
committed to disk, the log file should still be zero-length, and can
simply be deleted. On a completely asynchronous filesystem, data writes
might be committed to disk before the chmod is committed; I'm not sure
if that's worth worrying about.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 14 02:10:13 2006

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.