From: Avramenko Andrew <liksx@mail.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] [git update] packages/ulogd: heads/master
Date: Thu, 29 Nov 2007 20:42:59 +0300
Message-ID: <E1IxnPf-000E7W-00.liksx-mail-ru@f123.mail.ru> (raw)
In-Reply-To: <m3sl2p5fkx.fsf@vvk.distance.ru>
Спасибо. Исправлю.
-----Original Message-----
From: "Vladimir V. Kamarzin" <vvk@vvk.pp.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Date: Thu, 29 Nov 2007 18:47:10 +0500
Subject: Re: [devel] [git update] packages/ulogd: heads/master
> >>>>> On 28 Nov 2007 at 18:51 "AA" == Avramenko Andrew writes:
>
> AA> Update of /people/liks/packages/ulogd.git
> AA> 1.24-alt9
> AA> Fix #13469. The problem was in the rights on the /var/lib/ulogd dir - user ulogd must be the owner of it.
>
> AA> Full diff since `1.24-alt6-3-g922f3d9' follows:
> AA> diff --git a/ulogd.spec b/ulogd.spec
> AA> index 45e5adc..89b72eb 100644
> AA> --- a/ulogd.spec
> AA> +++ b/ulogd.spec
> AA> @@ -128,7 +128,7 @@ rm -rf %buildroot/%_includedir/libipulog
> AA> %doc COPYING AUTHORS README
> AA> %doc doc/%name.txt doc/%name.a4.ps doc/%name.html
> AA> %_man8dir/*
> AA> -%dir %_localstatedir/%name/
> AA> +%attr(0750,ulogd,ulogd) %_localstatedir/%name/
>
> Ну вообще-то у нас так не принято делать:
>
> Владельцы каталогов
>
> Пакеты НЕ ДОЛЖНЫ содержать каталоги, принадлежащие псевдо-пользователям. Вместо этого следует использовать каталоги, принадлежащие root, с установленным sticky bit и доступом группы по записи.
>
> Обоснование: Псевдо-пользователь не должен иметь право изменять атрибуты
> каталогов, а также файлы и каталоги, созданные другими пользователями;
> нарушение этого правила, как правило приводит к возможности осуществления
> pseudouser/root compromise.
>
> http://docs.altlinux.ru/alt/devel/ch01s03.html#id2884290
>
> --
> vvk
>
> _______________________________________________
> Devel mailing list
> Devel@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel
prev parent reply other threads:[~2007-11-29 17:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-29 13:47 ` Vladimir V. Kamarzin
2007-11-29 17:42 ` Avramenko Andrew [this message]
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=E1IxnPf-000E7W-00.liksx-mail-ru@f123.mail.ru \
--to=liksx@mail.ru \
--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