You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Henrik Holmboe <el...@hack.se> on 2004/11/18 21:36:29 UTC
Symbolic links in ~/.subversion
Hello,
I was just about to file a bugreport, but per the instructions at
<http://subversion.tigris.org/project_issues.html> Im sending an email
here to get some feedback.
The issue Im having could be considered a bordercase by many. I have a
special need to keep all secret data in special storage and therefore
need to symlink the files stored in
$HOME/.subversion/{svn.simple,svn.ssl.server}.
When checking out a repository and permanently accepting the
certificate and providing username and password the files in question
are automatically created. I then move them to the other storage and
create symlinks. The next time I issue a command that connects to the
server, I am again asked questions as if the server was not already
verified/authenticated.
Please advise.
.h
--
Henrik Holmboe, Stockholm, Sweden
<http://henrik.holmboe.se/contact/>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Symbolic links in ~/.subversion
Posted by Branko Čibej <br...@xbc.nu>.
Henrik Holmboe wrote:
>Hello,
>
>I was just about to file a bugreport, but per the instructions at
><http://subversion.tigris.org/project_issues.html> Im sending an email
>here to get some feedback.
>
>The issue Im having could be considered a bordercase by many. I have a
>special need to keep all secret data in special storage and therefore
>need to symlink the files stored in
>$HOME/.subversion/{svn.simple,svn.ssl.server}.
>
>When checking out a repository and permanently accepting the
>certificate and providing username and password the files in question
>are automatically created. I then move them to the other storage and
>create symlinks. The next time I issue a command that connects to the
>server, I am again asked questions as if the server was not already
>verified/authenticated.
>
>Please advise.
>
>
Is there any reason you can't symlink the whole ~/.subversion/auth
directory instead of just bits beneath that? I think it would make your
life easier because you won't have to copy the stuff around manually all
the time.
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Symbolic links in ~/.subversion
Posted by kf...@collab.net.
Henrik Holmboe <el...@hack.se> writes:
> I was just about to file a bugreport, but per the instructions at
> <http://subversion.tigris.org/project_issues.html> Im sending an email
> here to get some feedback.
>
> The issue Im having could be considered a bordercase by many. I have a
> special need to keep all secret data in special storage and therefore
> need to symlink the files stored in
> $HOME/.subversion/{svn.simple,svn.ssl.server}.
>
> When checking out a repository and permanently accepting the
> certificate and providing username and password the files in question
> are automatically created. I then move them to the other storage and
> create symlinks. The next time I issue a command that connects to the
> server, I am again asked questions as if the server was not already
> verified/authenticated.
>
> Please advise.
Thanks for posting here first, it's much better than filing a bug at
this point.
What version of Subversion are you running on the client side? I saw
Mike Pilato's response, in which he tried to do what you do, but
couldn't reproduce the problem.
Can you show us 'ls -l' and 'ls -ld' of all the relevant directories,
so we understand *exactly* how your symlinks are laid out? Then show
us a literal transcript of what Subversion commands you run, and what
it asks you when you think it shouldn't ask anything.
-Karl
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Symbolic links in ~/.subversion
Posted by "C. Michael Pilato" <cm...@collab.net>.
"C. Michael Pilato" <cm...@collab.net> writes:
> Without looking at the code, my first guess would by that Subversion
> is using svn_io_check_path() instead of svn_io_check_resolved_path()
> when looking on disk for your auth cache. In other words, it isn't
> trying to resolve your symlinks.
Well, it does appear that the code is doing what I said ... but I was
completely wrong about the expected results. In fact, I just testing
a relatively recent version of Subversion with ~/.subversion/auth as a
symlink to /some/other/place/auth, and it worked as expected.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Symbolic links in ~/.subversion
Posted by "C. Michael Pilato" <cm...@collab.net>.
Without looking at the code, my first guess would by that Subversion
is using svn_io_check_path() instead of svn_io_check_resolved_path()
when looking on disk for your auth cache. In other words, it isn't
trying to resolve your symlinks.
Henrik Holmboe <el...@hack.se> writes:
> Hello,
>
> I was just about to file a bugreport, but per the instructions at
> <http://subversion.tigris.org/project_issues.html> Im sending an email
> here to get some feedback.
>
> The issue Im having could be considered a bordercase by many. I have a
> special need to keep all secret data in special storage and therefore
> need to symlink the files stored in
> $HOME/.subversion/{svn.simple,svn.ssl.server}.
>
> When checking out a repository and permanently accepting the
> certificate and providing username and password the files in question
> are automatically created. I then move them to the other storage and
> create symlinks. The next time I issue a command that connects to the
> server, I am again asked questions as if the server was not already
> verified/authenticated.
>
> Please advise.
>
> .h
>
> --
> Henrik Holmboe, Stockholm, Sweden
> <http://henrik.holmboe.se/contact/>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org