Permissions in SVN folders and Ruby scripts

(I’m cross posting this from SVN forum)

Hello all-

I’ve recently started using Subversion at work to keep Ruby scripts.
The scripts are an automation framework I’ve been writing that have a
harness in one directory and within a subdirectory, tests. However, I’ve
noticed that my harness won’t run as it can’t execute the tests. I’ve
diffed the files and the directories and there are no changes apart from
some completely unrelated files in one directory structure.

I’ve thought it might be the permissions and indeed, looking at the SVN
Tests directory I noticed that the permissions for both the EVERYONE and
My account users are reduced compared to the non-SVN directory of same
name.

If I want to execute the tests in the Subversion enabled directory, and
need to change any permissions (to be more permissive) are there any
risks for Subversion functionality?

(I’m presuming here that when a Ruby script is executed that it either
uses the permissions available to myself or EVERYONE?)

On Thu, Nov 02, 2006, Max R. wrote:

I’ve thought it might be the permissions and indeed, looking at the SVN
Tests directory I noticed that the permissions for both the EVERYONE and
My account users are reduced compared to the non-SVN directory of same
name.

svn doesn’t really pay attention to permissions, so when you check
something out it gets your umask. You can force things to be marked +x
by adding the svn:executable property; check the svn book
(http://svnbook.red-bean.com) for details.

If I want to execute the tests in the Subversion enabled directory, and
need to change any permissions (to be more permissive) are there any
risks for Subversion functionality?

Nope.

Ben

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs