ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: ALT Devel discussion list <devel@altlinux.org>
Subject: [devel] rpmfile
Date: Tue, 13 Sep 2005 12:51:57 +0400
Message-ID: <20050913085156.GP3290@solemn.turbinal.org> (raw)
In-Reply-To: <20050912102857.GD13913@basalt.office.altlinux.org>

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

On Mon, Sep 12, 2005 at 02:28:57PM +0400, Dmitry V. Levin wrote:
> > Посмотрел, что он мне тут ночью сделал.  Есть грабли с %ghost файлами,
> > с неправильными правами доступа на каталог (когда в каталог "не пускают")
> > и с девайсами.  Похоже, придется использовать fakeroot.
> Когда в каталг не пускают, можно использовать chmod.

chmod проще всего сделать рекурсивно, но тогда может частично измениться
описание файла, т.к. при чмоде "слетает" suid/sgid.  С fakeroot пока
получается лучше всего.

at@solemn ~/.cmdcache 4 $ grep -r setuid rpmfile
rpmfile/i327820s28180m1099489621:/usr/sbin/suexec       104711  setuid ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.18, dynamically linked (uses shared libs), stripped
rpmfile/i275202s28073547m1084879330:/usr/lib/erlang/erts-5.3/src/setuid_socket_wrap.c   100644  ASCII C program text
rpmfile/i328102s346373m1094052150:/usr/sbin/exim-mysql  104711  setuid ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.18, dynamically linked (uses shared libs), stripped
rpmfile/i327778s499335m1093862089:/usr/lib/amanda/dumper        104710  setuid ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.18, dynamically linked (uses shared libs), stripped
rpmfile/i327778s499335m1093862089:/usr/lib/amanda/planner       104710  setuid ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.18, dynamically linked (uses shared libs), stripped
rpmfile/i327778s499335m1093862089:/usr/sbin/amcheck     104710  setuid ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.18, dynamically linked (uses shared libs), stripped
^C
at@solemn ~/.cmdcache 4 $

> Это не всегда удобно.  Может, лучше по дереву на бинарный пакет, чтобы
> не пересекались?

Ok.

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

      reply	other threads:[~2005-09-13  8:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-02 20:14 [devel] librpm payload Alexey Tourbin
2005-09-02 21:00 ` Dmitry V. Levin
2005-09-05  3:43   ` [devel] " Alexey Tourbin
2005-09-05  9:09     ` Sergey Vlasov
2005-09-11 17:06     ` Alexey Tourbin
2005-09-11 22:14       ` Dmitry V. Levin
2005-09-12  3:48         ` Alexey Tourbin
2005-09-12 10:28           ` Dmitry V. Levin
2005-09-13  8:51             ` Alexey Tourbin [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=20050913085156.GP3290@solemn.turbinal.org \
    --to=at@altlinux.ru \
    --cc=devel@altlinux.org \
    --cc=devel@altlinux.ru \
    /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