You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have been using FileUtils.rm_r with secure option (FileUtils.rm_r(path, :secure => true)) and as per documentation, FileUtils.rm_r removes the root entries recursively, removes the root at the end. However, somehow we are sometimes (now always) getting Errno::ENOTEMPTY ("Directory not empty") exception with FileUtils.rm_r on the environment: Logstash with ruby 2.6.8, Windows OS (x86_64-mswin32). When checked the directory path, there were no files found in it, means empty dir.
We have been using
FileUtils.rm_r
with secure option (FileUtils.rm_r(path, :secure => true)
) and as per documentation,FileUtils.rm_r
removes the root entries recursively, removes the root at the end. However, somehow we are sometimes (now always) gettingErrno::ENOTEMPTY
("Directory not empty") exception withFileUtils.rm_r
on the environment: Logstash with ruby2.6.8
, Windows OS (x86_64-mswin32
). When checked the directory path, there were no files found in it, means empty dir.We wonder what would be a cause.
Thanks.
The text was updated successfully, but these errors were encountered: