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

Re: SVN does not store file permitions and ownership info

From: Matthew Pounsett <matt_at_conundrum.com>
Date: Mon, 11 Aug 2008 19:45:28 -0400

On 11-Aug-2008, at 19:13 , KES wrote:

> I use SVN as DB to store UNIX configuration files
> It is flexible to rollback to last configuration if something goes
> wrong
> But SVN does not store file permitions and ownership info
> So when I restore files from repository it create files as 644 but
> this is security hole for my system because of it allow others to
> read files which they must not
> It will be great if SVN will store file ownership and permitions
> info in repository

File ownership and modes aren't really part of tracking file contents,
which is what most (in my experience) version control systems
concentrate on.

You might want to look at something like cfengine, puppet, or bcfg2
which are good applications for managing config files, and which can
use a version control system repository as a place to get the configs

Received on 2008-08-12 01:46:18 CEST

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.