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

Re: svn automatically temporary accept for SSL key?

From: Konrad Rosenbaum <konrad_at_silmor.de>
Date: 2007-07-17 22:39:35 CEST

Hi,

this all sounds very FAQ'esque...

On Tuesday 17 July 2007, timotheus wrote:
> The purpose would be to access repository at:
> https://localhost/somerepo/
> but the server is a self-signed SSL certificate, hence the prompt.
> No, I would not recommend automatic for remote repository either.

SVN does not care who signed the cert, it just asks.

> And what about cron job that runs as an unprivilaged user without any
> $HOME or shell?

Every Linux/Unix user DOES have a $HOME and a shell. In worst case the
homedir is a system directory and the shell is /bin/false.

> Also, even if the user does have a valid $HOME, I find
> that `svn' does occasionally forget it's cache for these cron job
> unprivilaged users with valid HOME...

Put a line like "HOME=/path/to/user/home" into the crontab and make sure the
path is writeable by the user and is not "cleaned" by some other cron-job.
Subversion creates a $HOME/.subversion directory where it stores its caches
and configuration - it does not work properly without it, so you need to
make sure it can do this anyway.

        Konrad

  • application/pgp-signature attachment: stored
Received on Tue Jul 17 22:39:02 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.