On Thu, Dec 22, 2011 at 5:37 AM, Hendrik Fuß <hendrik.fuss_at_gmail.com> wrote:
> Am 22.12.2011 um 11:24 schrieb vishwajeet singh:
> On Thu, Dec 22, 2011 at 2:23 PM, Hendrik <hendrik.fuss_at_gmail.com> wrote:
>> Hi folks,
>> is it safe to access a repository via local file:// protocol on a
>> server that also runs apache2 and mod_dav_svn? I'd like to create tags
>> locally on the server to avoid some authentication headaches.
> If you are not doing any write operations that should be just fine.
> Good. Trouble is, I want to do write operations, e.g. svn copy. Is it safe
> to do that with subversion?
It can get tricky. If you do it *as the same user* that owns the
repository for Apache or svnserver or svn+ssh access, then you'll
probably be OK. But if you're doing access control with Apache
directives, you'll blow right post them and have some risk of doing
things you don't normally allow. And the management of "sgid"
permission bits and "umask" can get awkward.
You'll also fail to set the user attribution setting for your commits
that is normally derived from the logged in "user" for HTTPS,
svnserve, or svn+ssh authentication.
Like a magician pulling a quarter out of your ear, it can be done
gracefully and effectively, but tends to involve dropping a lot of
quarters on the floor until you've gotten some practice.
Received on 2011-12-24 15:02:17 CET