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

File based permissions?

From: Gonzalez Diaz, Xoan <G2485_at_caixagalicia.es>
Date: 2007-12-13 19:11:11 CET

Hi again,

 

I am setting up a repository of java projects. So my layout is the following:

 

DEVELOPMENT

            APPLICATION

                        Trunk

                                    src/main/java/es/company/application/component1

                                                       es/company/application/component2

                                                           ...

                                   src/test/java/es/company/application/component1

                                                      es/company/application/component2

                                                           ...

                                   doc/es/company/application/component1

                               es/company/application/component2

                                   .classpath

                                   .project

                        Branches

                        Tags

                        

 

I want to give read access to all programmers in all directories. And too, read and write access for a programmer modifying a given component in all directories needed, that is:

            Src/main/java/es/company/application/component1

Src/test/java/es/company/application/component1

Doc/es/company/application/component1

.classpath

.project

 

 

 

So I define t in access file:

[groups]

es.company.application.component1 = programmer1

 

[/]

* = r

 

[Repo:/DEVELOPMENT/APPLICATION/trunk/src/main/java/es/company/application/component1]

es.company.application.component1 = rw

 

[Repo:/DEVELOPMENT/APPLICATION/trunk/src/test/java/es/company/application/component1]

es.company.application.component1 = rw

 

[Repo:/DEVELOPMENT/APPLICATION/trunk/doc/es/company/application/component1]

es.company.application.component1 = rw

 

[Repo:/DEVELOPMENT/APPLICATION/trunk/.project]

es.company.application.component1 = rw

 

[Repo:/DEVELOPMENT/APPLICATION/trunk/.classpath]

es.company.application.component1 = rw

 

 

 I want a programmer to be able to modify .project and .classpath but not the other components in trunk different than component1.

 

When I try to modify .project or .classpath a "403 Forbidden" error is thrown. Isn't possible to define permission over a single file?

 

Any ideas to achieve this?

 

Thanks a lot !

Xoan

 

 

 Xoan González Díaz

 Área de Arquitectura EE. FF.

 

 E-mail: g2485 (at) caixagalicia.es <mailto:%20g2485@caixagalicia.es>
   xoan.gonzalez (at) tecnocom.es <mailto:xoan.gonzalez@tecnocom.es>

           

 

image001.jpg
Received on Thu Dec 13 19:37:42 2007

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.