[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#4722: bad permission set by dpkg-ftp



Package: dpkg-ftp
Version: 1.4.4

On line 41 of /usr/lib/dpkg/methods/ftp/setup is the line
if (! -d debian) {
    mkdir "debian", 07;
}

This creates the directory like this:
d------r-x   5 root     root         1024 Oct  6 09:49 debian

I believe this is a mistake.  At a guess, that should be
    mkdir "debian", 0755;

If nothing else, this makes it very hard for an administrator
to go in and check if a significant package has arrived.

-- 
Raul

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: