* 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 ce54d17..a24c7ed 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