On Thu, 04 Nov 2004 15:33:38 -0200, Rodrigo Barbosa said: > Does anyone still have /tmp without noexec ? > > /dev/sda2 on /tmp type ext3 (rw,noexec,nodev,nosuid)
1) A lot of people have a "one partition for everything" configuration, as that's what their distro did at the time they first installed it. This makes it hard to mount /tmp with different options, and a lot of people don't feel like doing a complete re-install to repartition. 2) An amazing amount of stuff assumes that /tmp has 'exec' - at least for a while, 'rpmbuild' of a Redhat Perl would die because it build into a directory on /tmp, and then tried to run a binary out of that just-built tree - workaround was to feed rpm a '%_tmpdir =' pointing elsewhere. Dell's microcode installer hits the same issue, as did at least some OpenOffice builds. So if you do it, be prepared to get bit, and have to do a 'mount -o remount,exec /tmp' once in a while...
pgpP3J1WOfA6u.pgp
Description: PGP signature