Skip to content

Commit

Permalink
update gem
Browse files Browse the repository at this point in the history
  • Loading branch information
jimhj committed Aug 16, 2013
1 parent 8b55ab4 commit ebe8b3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/dfs_uploader/process.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ def extent_edge!(size, opts = {})
end

def upload
FileUtils.mkdir_p(@target_dir)
FileUtils.mkdir_p(@target_dir, mode: 777)
full_path = File.join(@target_dir, "o_#{@filename}.#{@ext}")
self.image.write(full_path)
self.image.write(full_path)
FileUtils.chmod(0664, full_path) #!!!!!!
create_thumbs unless @opts[:create_thumbs] === false
@dfs_path = [@filename, @ext, 0, 0, @store_as, 0, 0, @rand_dir.split('/')].join('|')
Expand Down

0 comments on commit ebe8b3d

Please sign in to comment.