mailing list of musl libc
 help / color / mirror / code / Atom feed
* install.sh is wrong with libc.so
@ 2014-01-15  8:42 orc
  2014-01-15 11:01 ` Laurent Bercot
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: orc @ 2014-01-15  8:42 UTC (permalink / raw)
  To: musl

In case of executable files (which libc.so is), install.sh is wrong and dangerous.

The sequence of commands of install.sh from 0.9.15:

umask 077
cat < lib/libc.so > /lib/libc.so.tmp.pid # /lib/libc.so.tmp.pid is created with mode 600
mv -f /lib/libc.so.tmp.pid /lib/libc.so
chmod 755 /lib/libc.so # failed with "Permission denied"

After that the system is unusable and requires external assistance.


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-01-16  1:34 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-15  8:42 install.sh is wrong with libc.so orc
2014-01-15 11:01 ` Laurent Bercot
2014-01-15 11:35 ` Christian Wiese
2014-01-15 11:52   ` orc
2014-01-15 12:58     ` Christian Wiese
2014-01-15 12:13 ` Szabolcs Nagy
2014-01-15 12:48   ` orc
2014-01-15 14:18     ` Szabolcs Nagy
2014-01-15 16:31     ` Rich Felker
2014-01-16  1:34       ` orc

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).