[Adduser-devel] Bug#299489: Re: /usr/sbin/adduser line 695, <FIND> line 6.

Marc Haber Marc Haber <mh+debian-packages@zugschlus.de>, 299489@bugs.debian.org
Fri, 18 Mar 2005 17:45:43 +0100


tags #299489 confirmed pending - moreinfo
thanks

On Mon, Mar 14, 2005 at 02:03:11PM +0100, Marc Haber wrote:
> On Mon, Mar 14, 2005 at 02:46:34PM +0200, Chapko Dmitrij wrote:
> > Not work if /etc/skel/ symlink found ...
> > 
> 
> Please re-run with a locale that a west european user can read, and
> give the output of find /etc/skel -ls

The bug reporter delivered the requested information in private, and a
bug in adduser was found. When /etc/skel is unreadable to the world,
the readlink() call which was being done with privileges dropped failed.

The issue is hopefully solved, as readlink code and error handling
have been moved out of the block that runs with dropped privileges.

The fix is committed to svn.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835