[pacman-dev] [PATCH] makepkg: only strip files that are writable

Thomas Bächler thomas at archlinux.org
Tue Feb 2 12:02:40 EST 2010


Am 27.01.2010 00:24, schrieb Allan McRae:
>> - would anyone want to strip everything regardless of their
>> permissions (and running strip as root for that reason) ?
> 
> I have no idea why libraries/binaries are installed without 644/755
> permissions anyway.  Configuration files I understand...  That said, the
> do get installed that way and so this needs dealt with.

I have seen cases where applications require certain helper applications
or plugins to be 555 or 500, so not writable by anyone (for security
reasons, but I don't remember exactly where I saw this).

Instead of not stripping them at all, wouldn't it be desirable to make
them writable, strip them and remove the writable permissions again?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/pacman-dev/attachments/20100202/ee8c6ce8/attachment.bin>


More information about the pacman-dev mailing list