Permalink
Browse files

Set umask so that output files by latex are writeable by the CLSI

  • Loading branch information...
1 parent 8abb07d commit d70502187b8b4ab774c6960fee98995070f97dae root committed Jul 13, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −0 app/models/compile.rb
  2. +0 −2 db/migrate/20100613163634_create_compile_logs.rb
View
@@ -126,6 +126,8 @@ def to_xml
private
def write_resources_to_disk
+ File.umask(0002)
+
for resource in self.resources.to_a
resource.write_to_disk
end
@@ -7,8 +7,6 @@ def self.up
t.boolean :makeindex_ran, :default => false
t.timestamps
end
-
- drop_table :projects
end
def self.down

0 comments on commit d705021

Please sign in to comment.