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

svn checking repository permissions (design)

From: <e.huelsmann_at_gmx.net>
Date: 2003-09-05 23:03:54 CEST

Marc,

Looking at the code for BDB I can see that no files in the repos are touched
during the db_env_create() call, so at first I thought that it would be a
good place to check permissions right after environment init. There you could
easily loop over the files BDB reports to be in the db.

Now I am reading subversion/libsvn_repos/repos.c: get_repos and I must
conclude that there are several moments to check permissions. Before accessing BDB

1) a lock file is generated
2) the repository version is checked

These are also points that might need perms checking.

bye,

Erik.

-- 
COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
--------------------------------------------------
1. GMX TopMail - Platz 1 und Testsieger!
2. GMX ProMail - Platz 2 und Preis-Qualitätssieger!
3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 5 23:04:48 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.