Skip to content

Instantly share code, notes, and snippets.



Last active Dec 15, 2015
What would you like to do?
irb(main):013:0> a = Dir.mktmpdir "foo"
=> "C:/Users/Luis/AppData/Local/Temp/foo20130317-4772-1embew8"
irb(main):014:0> a, "V:/foo"
Errno::EACCES: Permission denied - (C:/Users/Luis/AppData/Local/Temp/foo20130317-4772-1embew8, V:/foo)
irb(main):001:0> require "fileutils"
=> true
irb(main):002:0> Dir.mkdir "foo-trash"
=> 0
irb(main):003:0> "foo-trash", "V:/"
Errno::EACCES: Permission denied - (foo-trash, V:/foo-trash)
C:\Users\Luis>move foo-trash V:/
Access is denied.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.