ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] hasher: ERROR: you have problems with file permissions
@ 2007-10-12  9:39 Valery V. Inozemtsev
  2007-10-12  9:52 ` Kirill A. Shutemov
  2007-10-12  9:53 ` Alexey I. Froloff
  0 siblings, 2 replies; 4+ messages in thread
From: Valery V. Inozemtsev @ 2007-10-12  9:39 UTC (permalink / raw)
  To: ALT Devel discussion list

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

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

-- 
Valery V. Inozemtsev

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [devel] hasher: ERROR: you have problems with file permissions
  2007-10-12  9:39 [devel] hasher: ERROR: you have problems with file permissions Valery V. Inozemtsev
@ 2007-10-12  9:52 ` Kirill A. Shutemov
  2007-10-12  9:53 ` Alexey I. Froloff
  1 sibling, 0 replies; 4+ messages in thread
From: Kirill A. Shutemov @ 2007-10-12  9:52 UTC (permalink / raw)
  To: ALT Linux Team development discussions

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [devel] hasher: ERROR: you have problems with file permissions
  2007-10-12  9:39 [devel] hasher: ERROR: you have problems with file permissions Valery V. Inozemtsev
  2007-10-12  9:52 ` Kirill A. Shutemov
@ 2007-10-12  9:53 ` Alexey I. Froloff
  2007-10-12 10:17   ` Valery V. Inozemtsev
  1 sibling, 1 reply; 4+ messages in thread
From: Alexey I. Froloff @ 2007-10-12  9:53 UTC (permalink / raw)
  To: ALT Devel discussion list

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

* Valery V. Inozemtsev <shrek@> [071012 13:49]:
> права устанавливаются в спеке
> %attr(2755,root,polkit) %_prefix/libexec/%name/polkit-grant-helper
2511
> %attr(4750,root,polkit) %_prefix/libexec/%name/polkit-grant-helper-pam
4510

Убрать read.  http://docs.altlinux.ru/alt/devel/ch01s03.html

-- 
Regards,
Sir Raorn.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [devel] hasher: ERROR: you have problems with file permissions
  2007-10-12  9:53 ` Alexey I. Froloff
@ 2007-10-12 10:17   ` Valery V. Inozemtsev
  0 siblings, 0 replies; 4+ messages in thread
From: Valery V. Inozemtsev @ 2007-10-12 10:17 UTC (permalink / raw)
  To: ALT Linux Team development discussions

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

В сообщении от 12 октября 2007 Alexey I. Froloff написал(a):
> * Valery V. Inozemtsev <shrek@> [071012 13:49]:
> > права устанавливаются в спеке
> > %attr(2755,root,polkit) %_prefix/libexec/%name/polkit-grant-helper
>
> 2511
>
> > %attr(4750,root,polkit) %_prefix/libexec/%name/polkit-grant-helper-pam
>
> 4510
>
> Убрать read.  http://docs.altlinux.ru/alt/devel/ch01s03.html

опа... всем спасибо

-- 
Valery V. Inozemtsev

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-10-12 10:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-12  9:39 [devel] hasher: ERROR: you have problems with file permissions Valery V. Inozemtsev
2007-10-12  9:52 ` Kirill A. Shutemov
2007-10-12  9:53 ` Alexey I. Froloff
2007-10-12 10:17   ` Valery V. Inozemtsev

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