ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Anton Farygin <rider@altlinux.com>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] spt (hasher) и useradd
Date: Wed, 07 Mar 2007 16:57:11 +0300
Message-ID: <45EEC4B7.3080605@altlinux.com> (raw)
In-Reply-To: <20070306151025.GC22458@basalt.office.altlinux.org>

Dmitry V. Levin wrote:
> On Tue, Mar 06, 2007 at 05:44:54PM +0300, Alexey I. Froloff wrote:
>> * Dmitry V. Levin <ldv@> [070306 17:41]:
>>>>> Вобщем на часть файлов в tcb стоял владелец root:root вместо user:auth.
>>>> Это похоже на багу в fakeroot в районе реализации
>>>> setfsuid/setfsgid.  Тоже об это споткнулся.
>>> Как воспроизводить?  Если можно, то без помощи spt.
>> hsh --initroot...
>> hsh-shell --rooter
>> useradd
> 
> $ hsh --ini --save --without-stuff
> $ hsh-run --r -- useradd foo
> $ hsh-run --r -- ls -la /etc/tcb/foo
> total 4
> drwx--s---  2 foo  auth   100 Mar  6 18:00 .
> drwx--x--- 32 root shadow 640 Mar  6 18:00 ..
> -rw-r-----  1 foo  auth    19 Mar  6 18:00 shadow
> -rw-------  1 root root     0 Mar  6 18:00 shadow-
> -rw-------  1 root root     0 Mar  6 18:00 shadow.lock
> 
> Т.е. у shadow.lock неправильные права?

В fakechroot я это фиксил.. правда не помню где.

Rgds,
Rider



      parent reply	other threads:[~2007-03-07 13:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-03 16:11 Ivan Fedorov
2007-03-06 14:38 ` Alexey I. Froloff
2007-03-06 14:41   ` Dmitry V. Levin
2007-03-06 14:44     ` Alexey I. Froloff
2007-03-06 15:10       ` Dmitry V. Levin
2007-03-06 18:02         ` Ivan Fedorov
2007-03-07 13:57         ` Anton Farygin [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=45EEC4B7.3080605@altlinux.com \
    --to=rider@altlinux.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