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

Re: Adding selinux file properties as a subversion property

From: Ryan Schmidt <subversion-2008b_at_ryandesign.com>
Date: Thu, 12 Jun 2008 16:35:26 -0500

On Jun 12, 2008, at 10:59, Danny Kimsey wrote:

> I am looking to find out how to include selinux's security properties
> ( chcon ) as part of a files' commit automatically, as well as have
> the appropriate context be set when the file is checked out.
> I was wondering if anyone has any experience or success in implmenting
> something of this nature. Given taht the hooks aren't allowed to
> alter the revision itself, and presumably the properites of the
> individual files, how might this be done? A client side wrapper on the
> svn tool itself?

A client-side wrapper around the svn program would be the only thing
that springs to my mind.

Hook scripts can't solve this problem because they run on the server,
not the client; by the time the transaction gets to the server, the
permission information you want to store has already been lost (is
not contained in the transaction).

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-12 23:35:57 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.