[5892] in bugtraq

home help back first fref pref prev next nref lref last post

Re: Problems with "rpm --setperms"

daemon@ATHENA.MIT.EDU (Erik Troan)
Tue Dec 30 15:24:59 1997

Date: 	Tue, 30 Dec 1997 14:58:13 -0500
Reply-To: Erik Troan <ewt@REDHAT.COM>
From: Erik Troan <ewt@REDHAT.COM>
X-To:         Savochkin Andrey Vladimirovich <saw@msu.ru>
To: BUGTRAQ@NETSPACE.ORG
In-Reply-To:  <19971222183900.32407@castle.nmd.msu.ru>

On Mon, 22 Dec 1997, Savochkin Andrey Vladimirovich wrote:

> Try to say for instance "rpm --setperms sysklogd" being root
> on your Red Hat box (5.0, 4.2 - it isn't matter) and then
> "ls -l /etc/rc.d/init.d/syslog".
> You will be surprised by rpm's opinion about right permissions
> for the file. RPM set them to 0777.
>
> An interesting "feature", isn't it?

Interesting to say the least ;-)

This is fixed in RPM 2.4.11, which is now available from:

        ftp.redhat.com:/updates/4.2

and

        ftp.redhat.com:/updates/5.0

Everyone using an RPM based distribution should probably upgrade, unless
they didn't know '--setperms' existsed, in which case they can ignore this
entire issue.

Thanks for pointing this out, and sorry the fix took so long (I was on
vacation last week).

Erik

-------------------------------------------------------------------------------
|       "For the next two hours, VH1 will be filled with foul-mouthed,        |
|          crossdressing Australians. Viewer discretion is advised."          |
|                                                                             |
|       Erik Troan   =   ewt@redhat.com     =    ewt@sunsite.unc.edu          |

home help back first fref pref prev next nref lref last post