[Gllug] /usr/bin/env and the web server user account

gvim gvimrc at gmail.com
Thu May 19 21:21:31 UTC 2011


I've read that:

/usr/bin/env perl

.... rather than:

/usr/bin/perl

.... is the way to go as it solves portability problems but it seems to introduce new problems. If my perl script is running as a CGI the owner of that process will be the owner of the web server process, typically 'www' or 'apache'. Since these system user accounts are non-login $PATH is non-configurable, defeating the purpose of /usr/bin/env, surely?

gvim
--
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list