* Fixed last commit
authorSteven Barth <steven@midlink.org>
Sat, 7 Jun 2008 06:49:38 +0000 (06:49 +0000)
committerSteven Barth <steven@midlink.org>
Sat, 7 Jun 2008 06:49:38 +0000 (06:49 +0000)
libs/web/luasrc/template.lua

index ce54d17f31b4d39257134547626bd26626e3e3ec..a24c7ed5820501f77be18a01a5df6679d60f9eb7 100644 (file)
@@ -159,6 +159,7 @@ function Template.__init__(self, name)
                
                if not luci.fs.mtime(compiledir) then
                        luci.fs.mkdir(compiledir, true)
+                       luci.fs.chmod(luci.fs.dirname(compiledir), "a+rxw")
                end
                                
                -- Build if there is no compiled file or if compiled file is outdated