""A bird doesn't sing because it has an answer, it sings because it has a song."
Maya Angelou
Leaving the /tmp folder executable, surely does cause a security risk, as PHP can be used to upload as 'nobody' files to other parts of your system. Making the /tmp folder nonexecutable would eliminate such a security risk and enable you to breathe easy...
Here is how you should proceed:cd /dev dd if=/dev/zero of=tmpMnt bs=1024 count=200000
mke2fs /dev/tmpMnt (hit y when prompted)
cd / cp -R /tmp /tmp_backup
mount -o loop,nosuid,noexec,rw /dev/tmpMnt /tmp chmod 777 /tmp
cp -R /tmp_backup/* /tmp/ cd /tmp ls -la (verify the files are there) rm -rf /tmp_backup
vi /etc/fstab
LABEL=/ / ext3 defaults 1 1 none /dev/pts devpts gid=5,mode=620 0 0 LABEL=/home /home ext3 defaults 1 2 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 LABEL=/usr /usr ext3 defaults 1 2 LABEL=/var /var ext3 defaults 1 2 /dev/hda6 swap swap defaults 0 0At the bottom add
/dev/tmpMnt /tmp ext2 loop,nosuid,noexec,rw 0 0Note: Each space is a tab
cd /var rm -rf tmp ln -s /tmp /var/tmpand your done!!!
