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] [SCM] packages/avreg: heads/master
Date: Fri, 4 Jul 2008 12:00:13 +0700
Message-ID: <75e139a00807032200g505076d5te530e72bd1868ba4@mail.gmail.com> (raw)
In-Reply-To: <20080704044919.2A9D7164003D@ssh.git.int.altlinux.org>

2008/7/4 Denis Klimov <zver / altlinux.org>:
> Update of /people/zver/packages/avreg.git
[...]
> --- a/avreg.spec
> +++ b/avreg.spec
> @@ -76,15 +76,15 @@ echo 'For install MySQL database run %_datadir/%name/create_db script'
>  %_sysconfdir/%name/masks
>  %_sysconfdir/%name/media
>  %_sysconfdir/%name/sounds
> -%_sysconfdir/%name/%name.conf
> +%attr(0640, root, %avreg_group) %_sysconfdir/%name/%name.conf
>  %_datadir/%name
>  %dir %attr(0755, root, root) %_sysconfdir/%name/profiles
>  %dir %attr(0775, root, %avreg_group) /var/lock/%name
>  %dir %attr(0775, root, %avreg_group) /var/run/%name
>  %dir %attr(0775, root, %avreg_group) /var/spool/%name
> -%dir %attr(0775, root, %avreg_group) /var/lib/%name
> -%dir %attr(0775, root, %avreg_group) /var/lib/%name/masks
> -%dir %attr(0775, root, %avreg_group) /var/lib/%name/sounds
> +%dir %attr(0755, %avreg_user, %avreg_group) /var/lib/%name
> +%dir %attr(0755, %avreg_user, %avreg_group) /var/lib/%name/masks
> +%dir %attr(0755, %avreg_user, %avreg_group) /var/lib/%name/sounds

Денис, это же ALT Linux Security packaging Policy violation. Вам это известно?

http://docs.altlinux.ru/alt/devel/ch01s03.html :

Пакеты НЕ ДОЛЖНЫ содержать каталоги, принадлежащие псевдо-пользователям. Вместо
этого следует использовать каталоги, принадлежащие root, с установленным sticky
bit и доступом группы по записи.

Обоснование: Псевдо-пользователь не должен иметь право изменять атрибуты
каталогов, а также файлы и каталоги, созданные другими пользователями; нарушение
этого правила, как правило приводит к возможности осуществления pseudouser/root
compromise.


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

       reply	other threads:[~2008-07-04  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-04  5:00 ` Slava Semushin [this message]
2008-07-04  9:30   ` Denis Klimov

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=75e139a00807032200g505076d5te530e72bd1868ba4@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