Re: Bug in Subversion regarding file attributes

2011-08-21 Thread Andy Canfield
On 08/21/2011 10:52 PM, Mark Phippard wrote: On Sun, Aug 21, 2011 at 11:03 AM, David Weintraub > wrote: What Subversion does is look at the timestamp of the file and the contents of the .svn directory that contains the file information. If the timestamp ha

Re: Bug in Subversion regarding file attributes

2011-08-21 Thread Andy Canfield
On 08/21/2011 06:48 PM, Andy Levy wrote: On Sun, Aug 21, 2011 at 07:21, Andy Canfield wrote: I created a repository and created a subdirectory in it named 'scripts'. In this are a half-dozen Linux shell scripts. Unfortunately, I set the execute flag on only five of them; the

Bug in Subversion regarding file attributes

2011-08-21 Thread Andy Canfield
I created a repository and created a subdirectory in it named 'scripts'. In this are a half-dozen Linux shell scripts. Unfortunately, I set the execute flag on only five of them; the sixth was untested as of my first commit so I had never noticed that the execute attribute was unset. [1] I set

Re: Subversion on Drupal

2011-08-11 Thread Andy Canfield
On 08/12/2011 10:48 AM, Ryan Schmidt wrote: On Aug 11, 2011, at 21:56, Andy Canfield wrote: My goal in learning Subversion was to put our web site under version control. Now I have my doubts as to whether Subversion can handle it. The web site uses Drupal. And Drupal has the characteristic

Subversion on Drupal

2011-08-11 Thread Andy Canfield
My goal in learning Subversion was to put our web site under version control. Now I have my doubts as to whether Subversion can handle it. The web site uses Drupal. And Drupal has the characteristic that much of the site is contained in a MySQL database. For example, if I install a module and

Re: Subversion: list of respositories

2011-07-31 Thread Andy Canfield
On 07/18/2011 06:27 PM, Nico Kadel-Garcia wrote: On Mon, Jul 18, 2011 at 7:10 AM, Erik Huelsmann wrote: I would think that it looks at SVNParentPath and tries to treat every subdirectory of that as a repository. Not quite. It's not "every subdirectory", it's "every child directory". Â That

Re: Subversion: list of respositories

2011-07-31 Thread Andy Canfield
On 07/18/2011 09:48 AM, Geoff Hoffman wrote: On Sat, Jul 16, 2011 at 11:06 PM, Andy Canfield mailto:andy.canfi...@pimco.mobi>> wrote: How do you get a list of repositories from svnserver? The only way I can figure out is: *ssh usern...@example.com <mai

Re: SVNParent authz

2011-07-30 Thread Andy Canfield
On 07/29/2011 01:48 PM, Cooke, Mark wrote: -Original Message- From: Andy Canfield [mailto:andy.canfi...@pimco.mobi] Sent: 29 July 2011 05:14 To: users@subversion.apache.org Subject: SVNParent authz I am having a problem with AuthzSVNAccessFile. Consider the case where I have two

Re: Worst Error Message?

2011-07-30 Thread Andy Canfield
On 07/30/2011 09:31 PM, Stefan Sperling wrote: On Sat, Jul 30, 2011 at 09:15:18PM +0700, Andy Canfield wrote: I just spent all day working on a bug. I could create a repository, and could do "svn checkout ..." but when I did "svn commit" I got this error message:

Re: disable security hole in svn+ssh?

2011-07-30 Thread Andy Canfield
On 07/29/2011 02:10 PM, Cooke, Mark wrote: -Original Message- From: Andy Canfield [mailto:andy.canfi...@pimco.mobi] Sent: 29 July 2011 02:27 To: Geoff Hoffman Cc: Nico Kadel-Garcia; users@subversion.apache.org Subject: Re: disable security hole in svn+ssh? Apparently, regardless

Worst Error Message?

2011-07-30 Thread Andy Canfield
I just spent all day working on a bug. I could create a repository, and could do "svn checkout ..." but when I did "svn commit" I got this error message: svn: Commit failed (details follow): svn: Server sent unexpected return value (403 Forbidden) in response to MKACTIVITY reque

Access to the SVNParentPath

2011-07-28 Thread Andy Canfield
That's a wonderful thing about computers. Every time I come up with something that is impossible, I figure out a way to do it. My current test repository server is named "athol". But I can not look at "http://athol/svn";; nobody is allowed to see that. But, as of now, if I point my browser to

SVNParent authz

2011-07-28 Thread Andy Canfield
I am having a problem with AuthzSVNAccessFile. Consider the case where I have two repositories, R1 and R2 Some users are authorized to examine R1 by going to http://example.com/svn/R1 Other users are authorized to examine R2 by going to http://example.com/svn/R2 But everyone should be a

Re: disable security hole in svn+ssh?

2011-07-28 Thread Andy Canfield
Thank you very much. On 07/28/2011 09:48 PM, Geoff Hoffman wrote: On Thu, Jul 28, 2011 at 7:29 AM, Andy Canfield mailto:andy.canfi...@pimco.mobi>> wrote: Hold it right there. You're providing password based repository access via HTTP, not HTTPS? Please r

Re: disable security hole in svn+ssh?

2011-07-28 Thread Andy Canfield
On 07/27/2011 06:47 PM, Nico Kadel-Garcia wrote: On Wed, Jul 27, 2011 at 12:06 AM, Andy Canfield wrote: I was trying to get http, svn, and svn+ssh to work. Dude. Pick one. Getting all three to play nicely together is destablilizing. For me, getting any of the four to work is difficult

Web site: checkout or export?

2011-07-27 Thread Andy Canfield
We're doing a web site. The whole site will be under revision control using Subversion. So there are at least three of these: my working copy, the repository, and the working web site. How do I get a working web site? By export? or by checkout? + After we 'svn checkout', If we need to change

disable security hole in svn+ssh?

2011-07-26 Thread Andy Canfield
I was trying to get http, svn, and svn+ssh to work. HERE IT IS USING HTTP: *svn info http://athol/svn/subdoc Authentication realm: Athol Subversion Repository Password for 'andy': Path: subdoc URL: http://athol/svn/subdoc Repository Root: http://athol/svn/subdoc Repository U

Re: My Backup Script

2011-07-26 Thread Andy Canfield
On 07/27/2011 01:34 AM, Nico Kadel-Garcia wrote: On Tue, Jul 26, 2011 at 2:33 AM, Andy Canfield wrote: For your information, this is my backup script. It produces a zip file that can be tranported to another computer. The zip file unpacks into a repository collection, giving, for each

Re: My Backup Script

2011-07-26 Thread Andy Canfield
On 07/26/2011 04:20 PM, Stefan Sperling wrote: On Tue, Jul 26, 2011 at 01:33:09PM +0700, Andy Canfield wrote: For your information, this is my backup script. It produces a zip file that can be tranported to another computer. The zip file unpacks into a repository collection, giving, for each

My Backup Script

2011-07-25 Thread Andy Canfield
For your information, this is my backup script. It produces a zip file that can be tranported to another computer. The zip file unpacks into a repository collection, giving, for each repository, a hotcopy of the repository and a dump of the repository. The hotcopy can be reloaded on a computer

Re: Subversion: existing users

2011-07-25 Thread Andy Canfield
On 07/24/2011 03:25 AM, Ryan Schmidt wrote: On Jul 23, 2011, at 03:27, Andy Canfield wrote: On 07/21/2011 07:27 PM, Cooke, Mark wrote: I don't use *nix much but shouldn't that be `chown -R ...`? Nope, the format of that command on Linux is chown username.groupname fileselector

Re: svnadmin failure on nearly identical system

2011-07-24 Thread Andy Canfield
On 07/22/2011 10:20 AM, Ryan Schmidt wrote: On Jul 21, 2011, at 22:09, Andy Canfield wrote: I have Ubuntu Linux 10.4 installed on my notebook computer named Lenny. I have the same system installed on my desktop computer named Athol (I had a lot of trouble getting that hardware to work). I

Re: Subversion access control

2011-07-23 Thread Andy Canfield
On 07/22/2011 02:39 AM, Ryan Schmidt wrote: On Jul 20, 2011, at 23:14, Andy Canfield wrote: I would like to use http/https. I am not supposed to be working on the server, but on my notebook workstation. And svn or svn+ssh require port 3690 to be forwarded by the router, and we don'

Re: Subversion: existing users

2011-07-23 Thread Andy Canfield
On 07/21/2011 07:27 PM, Cooke, Mark wrote: -Original Message- From: Andy Canfield [mailto:andy.canfi...@pimco.mobi] Sent: 21 July 2011 13:19 To: nka...@gmail.com Cc: users@subversion.apache.org Subject: Re: Subversion: existing users On 07/21/2011 05:55 PM, Andy Levy wrote

Re: Subversion access control / Linux users etc.

2011-07-23 Thread Andy Canfield
Thank you very much. On 07/22/2011 02:36 AM, Ryan Schmidt wrote: On Jul 21, 2011, at 06:54, Andy Canfield wrote: The browser, when pointing to http://localhost/svn/RepoName, gives this answer RepoName - Revision 0: / Powered by Subversion version 1.6.12 (r955767). This is true

Re: Setuid

2011-07-22 Thread Andy Canfield
On 07/22/2011 11:29 PM, David Chapman wrote: On 7/22/2011 8:38 AM, Andy Canfield wrote: Had what seems to be a bright idea. It is a bright idea for a Subversion server on Linux or OS X; AFAIK this idea has no relevance to Windows: Take note of the user and group that Apache runs as. Call

Setuid

2011-07-22 Thread Andy Canfield
Had what seems to be a bright idea. It is a bright idea for a Subversion server on Linux or OS X; AFAIK this idea has no relevance to Windows: Take note of the user and group that Apache runs as. Call this combination APACHE, meaning APACHE_USER and APACHE_GROUP. Whatever mod_dav_svn does to

Limited Access Repository

2011-07-22 Thread Andy Canfield
I changed my repository parent so that it is not readable, not writable, not searchable by anyone except the owner, which is www-data (the user that Apache runs as) - *drwx-- 2 www-data www-data 4096 2011-07-22 15:45 /data/svn* I figure that will keep other users away from the contents.

Re: Subversion: existing users

2011-07-21 Thread Andy Canfield
On 07/21/2011 09:33 PM, Nico Kadel-Garcia wrote: On Thu, Jul 21, 2011 at 6:12 AM, Andy Canfield wrote: ADDENDUM ... I used root to create the /data/svn directory. Then, anticpiating problems, I did a chmod to make it writable to all. Later I ran svnadmin create /data/svn/sample and it

Re: Subversion access control

2011-07-21 Thread Andy Canfield
Thank you very much On 07/20/2011 10:27 PM, Geoff Hoffman wrote: Andy, I thought you were off Apache and onto svnserve. Anyway, I sent you this info last week - maybe you missed it. It is pasted again below. I will grant to you that it is tricky to set up. The david winter blog post below s

Re: svnadmin failure on nearly identical system

2011-07-21 Thread Andy Canfield
On 07/22/2011 10:20 AM, Ryan Schmidt wrote: On Jul 21, 2011, at 22:09, Andy Canfield wrote: I have Ubuntu Linux 10.4 installed on my notebook computer named Lenny. I have the same system installed on my desktop computer named Athol (I had a lot of trouble getting that hardware to work). I

svnadmin failure on nearly identical system

2011-07-21 Thread Andy Canfield
I have Ubuntu Linux 10.4 installed on my notebook computer named Lenny. I have the same system installed on my desktop computer named Athol (I had a lot of trouble getting that hardware to work). I have installed the Ubuntu Subversion packages on each; namely subversion libapach

Subversion user problem?

2011-07-21 Thread Andy Canfield
I ran into a problem with a web site I am developing under Drupal; a problem related to user. And I suspect that the same problem arises witn Subversion. On my local copy of that site, sometimes the PHP code creates a directory and puts files into that directory. The directory had standard p

Re: Subversion: existing users

2011-07-21 Thread Andy Canfield
On 07/21/2011 05:55 PM, Andy Levy wrote: On Thu, Jul 21, 2011 at 06:12, Andy Canfield wrote: ADDENDUM ... I used root to create the /data/svn directory. Then, anticpiating problems, I did a chmod to make it writable to all. Giving global write permission will lead to problems as well

Re: Subversion access control / Linux users etc.

2011-07-21 Thread Andy Canfield
More user/command interaction - The commands to create the Subversion Repository Parent directory were *sudo bash mkdir /data/svn chmod a+w /data/svn* This created this directory: *drwxrwxrwx 4 root 4096 2011-07-21 17:36 /data/svn/* I ran this command as user root: *svnadmin

Re: Subversion: existing users

2011-07-21 Thread Andy Canfield
ADDENDUM ... I used root to create the /data/svn directory. Then, anticpiating problems, I did a chmod to make it writable to all. Later I ran svnadmin create /data/svn/sample and it created an entire repository directory tree under /data/svn. I don't remember but I probably ran it as root.

Re: Subversion: existing users

2011-07-20 Thread Andy Canfield
Great... On 07/21/2011 10:01 AM, Andy Levy wrote: On Wed, Jul 20, 2011 at 22:42, Andy Canfield wrote: Thank you very much. On 07/20/2011 05:44 PM, Stefan Sperling wrote: On Wed, Jul 20, 2011 at 05:22:57PM +0700, Andy Canfield wrote: One quirk is that if he URL specifies direct access, e.t

Re: Subversion access control

2011-07-20 Thread Andy Canfield
Thank you very much. On 07/20/2011 12:19 PM, Nico Kadel-Garcia wrote: On Tue, Jul 19, 2011 at 11:14 PM, Andy Canfield wrote: One thing has hit my mind today that I don't think you realize ... I have never, in my entire life, seen a working Subversion system. Apparently Subversio

Re: Subversion: existing users

2011-07-20 Thread Andy Canfield
Thank you very much. On 07/20/2011 05:44 PM, Stefan Sperling wrote: On Wed, Jul 20, 2011 at 05:22:57PM +0700, Andy Canfield wrote: One quirk is that if he URL specifies direct access, e.t. svn ... file:///var/svn/RepoName, then where is the code which actually manipulates the contents of the

Re: Subversion: existing users

2011-07-20 Thread Andy Canfield
On 07/20/2011 12:14 PM, Nico Kadel-Garcia wrote: On Tue, Jul 19, 2011 at 10:30 PM, Andy Canfield wrote: For example, I am on a Linux box named Lenny, logged in as 'andy'. I can ssh to hk.pimco.mobi as user 'andy', password 'psuedo'. But I don't want t

Re: Subversion access control

2011-07-19 Thread Andy Canfield
One thing has hit my mind today that I don't think you realize ... *I have never, in my entire life, seen a working Subversion system. * Apparently Subversion, as distributed, doesn't work - the access authentications are deliberately turned off. It would be really neat if somebody had a s

Re: Subversion: existing users

2011-07-19 Thread Andy Canfield
On 07/20/2011 05:24 AM, Nico Kadel-Garcia wrote: On Tue, Jul 19, 2011 at 12:16 PM, Bob Archer wrote: The most obvious authorization scheme is that of the host server; if there is a user named "andy" on that server with a password "jackel" then I would like to simply be able to talk to the sub

Re: Subversion access control

2011-07-19 Thread Andy Canfield
OFF THE SUBJECT OF APACHE, NOW TRYING TO ACCESS SVNSERVE VIA PORT 3690 /var/svn/config/svnserve.conf has been changed from the default to show *anon-access = none password-db = passwd authz-db = authz* The passwd file contains *andy = canfield* The authz file contains: *[/sample] andy = rw

Re: Subversion: via Apache

2011-07-18 Thread Andy Canfield
I have requested our system administrator re-install Apache and all it's mod_dav modules and tell me the distribution versions of everything. After it gets done I can re-test. In the meantime I can hope to get svn talking to svnserve via port 3690. So far failed on permissions, but more testin

Re: Subversion: list of respositories

2011-07-18 Thread Andy Canfield
On 07/18/2011 09:36 AM, Nico Kadel-Garcia wrote: On Sun, Jul 17, 2011 at 8:07 AM, Andy Levy wrote: On Sun, Jul 17, 2011 at 02:06, Andy Canfield wrote: How do you get a list of repositories from svnserver? The only way I can figure out is: ssh usern...@example.com sudo bash

Re: Subversion: list of respositories

2011-07-18 Thread Andy Canfield
On 07/18/2011 09:35 AM, Andy Levy wrote: Please Reply to All to keep discussion on the list. List convention is to bottom-post and quote inline. Please do not top-post. On Sun, Jul 17, 2011 at 22:29, Andy Canfield wrote: If I set up http://example.com/svn to be a way to use apache to

Re: Subversion: via Apache

2011-07-18 Thread Andy Canfield
On 07/18/2011 09:34 AM, Geoff Hoffman wrote: Test your config with -t Option "-t" on what command line? "-t" for svnserve means "tunnel"; svnadmin and svn have no -t option.

Re: Subversion: via Apache

2011-07-17 Thread Andy Canfield
I removed the block. No, Apache does not function. *telnet hk.pimco.mobi 80 Trying 202.181.201.137... Connected to hk.pimco.mobi. Escape character is '^]'. HEAD / HTTP/1.0* (pressed Enter twice) *Connection closed by foreign host.* In my last message I did not include the Apache version number;

Re: Subversion: via Apache

2011-07-17 Thread Andy Canfield
6 2009 mod_dav_svn.so* I don't know how to get version numbers out of them. On 07/17/2011 06:31 PM, Andy Levy wrote: Resending as I forgot reply all On Jul 17, 2011 7:30 AM, "Andy Levy" <mailto:andy.l...@gmail.com>> wrote: > > > On Jul 17, 2011 5:01 AM, &quo

Subversion: existing users

2011-07-17 Thread Andy Canfield
The most obvious authorization scheme is that of the host server; if there is a user named "andy" on that server with a password "jackel" then I would like to simply be able to talk to the subversion server as user named "andy" password "jackel". This is how ssh and sftp work. But apparently su

Subversion: Access control management

2011-07-17 Thread Andy Canfield
The file /var/svn/sample/README.txt says *This is a Subversion repository; use the 'svnadmin' tool to examine it. Do not add, delete, or modify files here unless you know how to avoid corrupting the repository.* but as far as I know there are no svnadmin tools to control access to th

Subversion: via Apache

2011-07-17 Thread Andy Canfield
WHOA! Near as I can tell, if you have an apache2 server offering web sites http://example.com/alpha http://example.com/beta http://example.com/gamma and you configure the apache2 web server for Subversion support, suddenly you can no longer access alpha and beta and gamma. DOES SUBVERSION TAKE O

Subversion: list of respositories

2011-07-17 Thread Andy Canfield
How do you get a list of repositories from svnserver? The only way I can figure out is: *ssh usern...@example.com sudo bash ls -ld /var/svn/** And, of course, this makes an assumption about where on the server the repositories are located. There 'ought' to be an easier way.

Subversion access control

2011-07-17 Thread Andy Canfield
ed to this repository* (By the way, I originally changed the "#" to a space and got an error on that line. Apparently the keyword MUST start in the first column.) I have added this line to 'passwd' - *andy = canfield* I have added these lines to 'authz'