School is a twelve-year jail sentence where bad habits are the only curriculum truly learned.
John Taylor Gatto
New forum topics
Recent comments
- found OpenCMS better than
18 weeks 6 days ago - For me it was citype not
19 weeks 15 hours ago - I would rather not worry
19 weeks 3 days ago - Hi there ,
i have integrate
20 weeks 4 days ago - Works a treat. I recommend
22 weeks 1 day ago - Any updates on a Drupal 6
24 weeks 8 hours ago - Are you people really that
24 weeks 2 days ago - video display quality in
25 weeks 6 days ago - yes it's true. joomla is hard
25 weeks 6 days ago - About Twitter.
26 weeks 2 days ago
I've had enough dealing with permission errors and corrupted database issues in the Subversion repository I use in one of my development servers. Most problems came from using the default Berkeley database as my repository store so I decided to move to FSFS.
Even if the Subversion book has a section explaining how to setup users and permissions and create wrapper scripts to use the correct umask, I didn't feel safe running a repository store that even the Subversion development team perceives as very sensible to interruptions.
Some advantages of FSFS over Berkeley database include:
- Can be used from a read only mount and doesn't depend on umask settings
- It's platform independent
- Repository size is slightly smaller
- It can be used on network filesystems
- Quite insensitive to interruptions
So, I've created a new repository specifying FSFS. You just need to add the --fs-type fsfs parameter, like this:
$ svnadmin create --fs-type fsfs /path/to/repos
I'd recommend not wasting your time with Berkeley database for your Subversion setup, just go for FSFS and you'll be cool.
More about Subversion and how I use it on all my web projects coming soon.


Join the conversation
It's "FSFS" not "FSF".
Typo in your title.
Good catch!
Fixed. Thank you for letting me know :)
Alexis Bellido
FSFS is default these days
Just FYI, you don't need to bother specifying the --fs-type option if you want to use FSFS. It's been the default repository type for several versions now (since 1.2 or 1.1, I think).
Right, my problems were with older SVN
I'm using a CentOS box with SVN 1.1.4, at that time svn used to have BSD as default.
Thanks for your comment.
Alexis Bellido