ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Alex Gorbachenko <agent_007@immo.ru>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] Подскажите по  subversion
Date: Fri, 29 May 2009 17:56:26 +0400
Message-ID: <20090529175626.5034ad6d@satellite.immomsk.ru> (raw)
In-Reply-To: <4A1FDE7B.7000508@rambler.ru>

[-- Attachment #1: Type: text/plain, Size: 1402 bytes --]

On Fri, 29 May 2009 17:09:15 +0400
Alexei wrote:

>> ls -ld /var/lib/subversion может ответить на этот вопрос.
>>   
>[root@server lib]# ls -ld /var/lib/subversion/
>drwx--s--- 4 subversion subversion 4096 May 29
>18:13 /var/lib/subversion/

вот и ответ, собственно. 

su -l subversion -s /bin/sh -c "/usr/bin/svnadmin
create  /var/lib/subversion/testrepo" может создать репозиторий с
корректными правами.


>> после chmod g+rwX тоже заработает. наверное потому, что
>> соответствующий gid (в Вашем случае - uid) сможет писать в этот
>> каталог ? 
>Наверное. Но интересно, как задумано авторами, и почему не работает из 
>коробки.

как задумано авторами, написано здесь:
http://svnbook.red-bean.com/nightly/ru/svn.reposadmin.create.html

ни слова о том, что репозитории надо создавать от пользователя с uid=0
в документе по вышеприведённой ссылке нет. так же как и нет ни слова о
том, что  /path/to/repos должен быть /var/lib/subversion.

-- 
np: All That Remains - Indictment

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2009-05-29 13:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-29 12:16 Alexei V. Mezin
2009-05-29 12:31 ` Afanasov Dmitry
2009-05-29 12:55 ` Alex Gorbachenko
2009-05-29 13:09   ` Alexei V. Mezin
2009-05-29 13:56     ` Alex Gorbachenko [this message]
2009-05-29 14:16       ` Alexei V. Mezin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090529175626.5034ad6d@satellite.immomsk.ru \
    --to=agent_007@immo.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git