Skip to content

@luislavena /gist:5179408
Last active

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
irb(main):013:0> a = Dir.mktmpdir "foo"
=> "C:/Users/Luis/AppData/Local/Temp/foo20130317-4772-1embew8"
irb(main):014:0> FileUtils.mv a, "V:/foo"
Errno::EACCES: Permission denied - (C:/Users/Luis/AppData/Local/Temp/foo20130317-4772-1embew8, V:/foo)
C:\Users\Luis>irb
irb(main):001:0> require "fileutils"
=> true
irb(main):002:0> Dir.mkdir "foo-trash"
=> 0
irb(main):003:0> FileUtils.mv "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
Something went wrong with that request. Please try again.