ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Kirill A. Shutemov" <k.shutemov@velesys.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] hasher: ERROR: you have problems with file permissions
Date: Fri, 12 Oct 2007 12:52:01 +0300
Message-ID: <20071012095201.GA12421@localhost.localdomain> (raw)
In-Reply-To: <200710121339.28527.shrek@altlinux.ru>

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

On [Fri, 12.10.2007 13:39], Valery V. Inozemtsev wrote:
> Hi!
> 
> это как и что с этим делать?
> ...
> Wrote: /usr/src/RPM/SRPMS/PolicyKit-0.6-alt1.src.rpm
> Wrote: /usr/src/RPM/RPMS/i586/PolicyKit-0.6-alt1.i586.rpm
> Wrote: /usr/src/RPM/RPMS/i586/libPolicyKit-0.6-alt1.i586.rpm
> Wrote: /usr/src/RPM/RPMS/i586/libPolicyKit-devel-0.6-alt1.i586.rpm
> 100.12user 24.30system 2:07.65elapsed 97%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (0major+2542183minor)pagefaults 0swaps
> `/usr/src/RPM/SRPMS/PolicyKit-0.6-alt1.src.rpm' -> `/.out/PolicyKit-0.6-alt1.src.rpm'
> `/usr/src/RPM/RPMS/i586/libPolicyKit-devel-0.6-alt1.i586.rpm' -> `/.out/libPolicyKit-devel-0.6-alt1.i586.rpm'
> `/usr/src/RPM/RPMS/i586/libPolicyKit-0.6-alt1.i586.rpm' -> `/.out/libPolicyKit-0.6-alt1.i586.rpm'
> `/usr/src/RPM/RPMS/i586/PolicyKit-0.6-alt1.i586.rpm' -> `/.out/PolicyKit-0.6-alt1.i586.rpm'
> hsh-rebuild: rebuild of `PolicyKit-0.6-alt1.src.rpm' complete.
> -rwsr-x---    1 root    polkit           7116 Oct 12 13:35 /usr/libexec/PolicyKit/polkit-grant-helper-pam
> -rwxr-sr-x    1 root    polkit          12000 Oct 12 13:35 /usr/libexec/PolicyKit/polkit-grant-helper
> /.out/PolicyKit-0.6-alt1.i586.rpm: bad permissions for suid/sgid files
> ERROR: you have problems with file permissions
> [1]  + exit 1     nohup hsh.sh sisyphus SRPMS/PolicyKit-0.6-alt1.src.rpm > policykit.log 2>&1
> hsh-rebuild: PolicyKit-0.6-alt1.src.rpm: sisyphus_check failed.
> удален `/tmp/.private/shrek/hasher/sisyphus/lockdir/pid'
> 
> права устанавливаются в спеке
> %attr(2755,root,polkit) %_prefix/libexec/%name/polkit-grant-helper
> %attr(4750,root,polkit) %_prefix/libexec/%name/polkit-grant-helper-pam

Убрать права на чтение. На suid/sgid по полиси нельзя давать права на чтение
никому кроме рута.

-- 
Regards,  Kirill A. Shutemov
 + Belarus, Minsk
 + Velesys LLC, http://www.velesys.com/
 + ALT Linux Team, http://www.altlinux.com/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-10-12  9:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-12  9:39 Valery V. Inozemtsev
2007-10-12  9:52 ` Kirill A. Shutemov [this message]
2007-10-12  9:53 ` Alexey I. Froloff
2007-10-12 10:17   ` Valery V. Inozemtsev

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=20071012095201.GA12421@localhost.localdomain \
    --to=k.shutemov@velesys.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