Thank Danielle!

I moved a lot of things on this Centos machine the other day. And yesterday
it compiled varnish very well. It seems I did something well.

As far as I understand, in a secure web server, /tmp directory should be
mounted noexec so if there is any buggy PHP application that allows people
to write code to /tmp, it will not be allowed to execute malicious code.

I still don't know of any Plone/Zope/Django app that has that kind of
security implications. So maybe I can enable exec permission for /tmp and
find a way to secure PHP apps. But i think this falls outside of the scope
of this mailing list.

thanks for the tip.

--
Noe

2010/10/23 danielle <[email protected]>

>
> Hi,
> may be it's question of mount options...
>
> http://linux.aldeby.org/bash-configure-binsh-bad-interpreter-permission-denied.html
>
> “bash: ./configure: /bin/sh: bad interpreter: Permission denied” error
> commonly occurs  when you have wrong options set in /etc/fstab and are
> trying to compile some code.
>
> The partition you have mount that stores the source code you are trying to
> compile is identified in /etc/fstab by a line similar to the following one,
> also/etc/mtab has the same line displayed
> /dev/hda13   /foo   ext3  user  1 2
> look at the “user” flag, only displays user option
> reading
> man mount
> ~~~
> user: Allow an ordinary user to mount the file system. This option implies
> the options noexec, nosuid, and nodev (unless overridden by subsequent
> options, as in the option line user,exec,dev,suid).
> ~~~
> Just change the user flag into defaults and you should be able to compile
> the whole world.
> --
> View this message in context:
> http://plone.293351.n2.nabble.com/Installing-varnish-fails-on-CENTOS-tp5660395p5664830.html
> Sent from the Installation, Setup, Upgrades mailing list archive at
> Nabble.com.
> _______________________________________________
> Setup mailing list
> [email protected]
> http://lists.plone.org/mailman/listinfo/setup
>
_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup

Reply via email to