ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Slava Semushin" <slava.semushin@gmail.com>
To: "ALT Devel discussion list" <devel@lists.altlinux.org>
Subject: Re: [devel] [git update] packages/prometeus: heads/master
Date: Wed, 26 Sep 2007 19:15:06 +0700
Message-ID: <75e139a00709260515n54aaf8e9ueb8812dbf584b875@mail.gmail.com> (raw)
In-Reply-To: <20070907063208.BB7391CB474C@ssh.git.local.altlinux.org>

07.09.07, Avramenko Andrew<liks / altlinux.org> написал(а):
> Update of /people/liks/packages/prometeus.git
[...]
> --- a/prometeus/INSTALL
> +++ b/prometeus/INSTALL
> +    * dbinfo - данные для соединения с базой. Имеет права root:root, потому что
> +        содержит имя пользователя и пароль.
[...]

"Имеет права root:root" IMHO не очень корректно. В данном случае
"имеет владельца и группу root:root" (хотя это тоже не лучший
вариант), а права это относится к маске, типа 644 или 755.

Кстати, то что файлов владеет рут и группа рут мало поможет файлу,
если у него выставлены атрибуты на чтение для всех остальных :)
Короче, желательно на этот файл поставить права 600 или 640 --
как-нить так.

Надо об этом написать в INSTALL, наверное, ну и в RPM-пакете тоже про
права не забыть.

> diff --git a/prometeus/scripts/dbinfo b/prometeus/scripts/dbinfo
> new file mode 100644
> index 0000000..d13cc51
> --- /dev/null
> +++ b/prometeus/scripts/dbinfo
> @@ -0,0 +1,11 @@
> +#!/usr/bin/perl
> +
> +# Name of database
> +our $db     = "prometeus";
> +# Name of MySQL user
> +our $dbUser = "prometeus";
> +# User Password
> +our $dbPass = "qwerty";
> +# Host of MySQL
> +our $dbHost = "localhost";
> +
[...]

-- 
+ Slava Semushin | slava.semushin @ gmail.com
+ ALT Linux Team | php-coder @ altlinux.ru

           reply	other threads:[~2007-09-26 12:15 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20070907063208.BB7391CB474C@ssh.git.local.altlinux.org>]

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=75e139a00709260515n54aaf8e9ueb8812dbf584b875@mail.gmail.com \
    --to=slava.semushin@gmail.com \
    --cc=devel@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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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