# Permissions in SVN folders and Ruby scripts

**URL:** <https://www.ruby-forum.com/t/permissions-in-svn-folders-and-ruby-scripts/74239>\
**Category:** Ruby\
**Created:** [November 2, 2006, 11:00am UTC](https://www.ruby-forum.com/t/permissions-in-svn-folders-and-ruby-scripts/74239 "2006-11-02T11:00:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shinji](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c6cbf5/32.png) [@shinji](https://www.ruby-forum.com/u/shinji)\
**Post date:** [November 2, 2006, 11:00am UTC](https://www.ruby-forum.com/t/permissions-in-svn-folders-and-ruby-scripts/74239/1 "2006-11-02T11:00:49Z")

</div>

(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?)

---

<div class="post-metadata">

**Author:** ![shinji](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c6cbf5/32.png) [@shinji](https://www.ruby-forum.com/u/shinji)\
**Post date:** [November 7, 2006, 10:55am UTC](https://www.ruby-forum.com/t/permissions-in-svn-folders-and-ruby-scripts/74239/2 "2006-11-07T10:55:07Z")

</div>

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](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
