From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <45EEC4B7.3080605@altlinux.com> Date: Wed, 07 Mar 2007 16:57:11 +0300 From: Anton Farygin User-Agent: Thunderbird 1.5.0.8 (X11/20061205) MIME-Version: 1.0 To: ALT Devel discussion list References: <45E99E24.7080207@neural.ru> <20070306143810.GI21920@immo.ru> <20070306144118.GA22458@basalt.office.altlinux.org> <20070306144454.GJ21920@immo.ru> <20070306151025.GC22458@basalt.office.altlinux.org> In-Reply-To: <20070306151025.GC22458@basalt.office.altlinux.org> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit Subject: Re: [devel] =?koi8-r?b?c3B0IChoYXNoZXIpIMkgdXNlcmFkZA==?= X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 13:57:34 -0000 Archived-At: List-Archive: List-Post: Dmitry V. Levin wrote: > On Tue, Mar 06, 2007 at 05:44:54PM +0300, Alexey I. Froloff wrote: >> * Dmitry V. Levin [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