From 0b7cc381df2d64a74159e0f4e405e045e9a72a6d Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Tue, 11 Dec 2012 00:09:00 +0000 Subject: Set the PATH environment variable to a standard value --- lua/mvc.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lua') diff --git a/lua/mvc.lua b/lua/mvc.lua index 5524c5b..84fb724 100755 --- a/lua/mvc.lua +++ b/lua/mvc.lua @@ -9,6 +9,9 @@ module(..., package.seeall) require("posix") format = require("acf.format") +-- For security, set the path +posix.setenv("PATH", "/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin") + mvc = {} -- the constructor -- cgit v1.2.3