nmh-workers
[Top] [All Lists]

Re: [nmh-workers] Reply to Ralph Corderoy

2019-04-22 05:11:39
Hi Stewart,

I used dnf to install nmh-1.7.1-2.fc28.x86_64 from a repository.  
So I guess the bug was in there too.

From
https://fedora.pkgs.org/28/fedora-x86_64/nmh-1.7.1-2.fc28.x86_64.rpm.html
I got
http://download-ib01.fedoraproject.org/pub/fedora/linux/releases/28/Everything/x86_64/os/Packages/n/nmh-1.7.1-2.fc28.x86_64.rpm
and that seems to have reasonable permissions on everything.

    $ ./rpm2cpio nmh-1.7.1-2.fc28.x86_64.rpm | bsdtar tvf - | grep mts
    -rw-r--r--  1 0      0        1813 Apr  5  2018 ./etc/nmh/mts.conf
    -rw-r--r--  1 0      0          41 Apr  5  2018 
./usr/share/man/man5/mts.conf.5.gz
    $
    $ ./rpm2cpio nmh-1.7.1-2.fc28.x86_64.rpm |
    > bsdtar tvf - |
    > egrep -v '^(drwxr-xr-x|-(rw-r--r--|rwxr-xr-x)|lrwxrwxrwx)'
    $

So at least that's one thing that doesn't need fixing.

It could be that a root:root 644 /etc/nmh/mts.conf when edited by you in
some manner with a umask of 77 becomes 600.

-- 
Cheers, Ralph.

-- 
nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>