corrected a typo
This commit is contained in:
parent
405e81d29d
commit
a99e492f05
|
@ -17,7 +17,7 @@ class FileYard
|
||||||
else
|
else
|
||||||
File.open(file_path(name), 'wb') { |f| f.write(io.read) }
|
File.open(file_path(name), 'wb') { |f| f.write(io.read) }
|
||||||
end
|
end
|
||||||
# just in case, estrict read access and prohibit write access to the uploaded file
|
# just in case, restrict read access and prohibit write access to the uploaded file
|
||||||
FileUtils.chmod(0440, file_path(name))
|
FileUtils.chmod(0440, file_path(name))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue