lib/elecksee/storage/overlay_directory.rb in elecksee-1.1.8 vs lib/elecksee/storage/overlay_directory.rb in elecksee-2.0.0
- old
+ new
@@ -32,10 +32,10 @@
# Create the storage
#
# @return [TrueClass, FalseClass]
def create
unless(File.directory?(overlay_path))
- FileUtils.mkdir_p(overlay_path)
+ command("mkdir -p #{overlay_path}", :sudo => true)
true
else
false
end
end