lib/vtools/shared_methods.rb in vtools-1.0.1 vs lib/vtools/shared_methods.rb in vtools-1.0.2
- old
+ new
@@ -91,10 +91,10 @@
path = (!storage || storage.empty? ? CONFIG[:PWD] : storage).to_s.strip.gsub(%r#/+#, '/').gsub(%r#/$#, '')
# generate path
begin
- FileUtils.mkdir_p path, :mode => 775
+ FileUtils.mkdir_p path, :mode => 0755
rescue => e
raise FileError, "Path generator error: #{e}"
end unless File.exists?(path)
path
end