Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Permissions in SVN folders and Ruby scripts
Max Russell
11/2/2006 10:01:00 AM
(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?)
--
Posted via
http://www.ruby-...
.
1 Answer
Ben Bleything
11/2/2006 3:55:00 PM
0
On Thu, Nov 02, 2006, Max Russell 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.re...
) 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
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Permissions in SVN folders and Ruby scripts
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password