-
Notifications
You must be signed in to change notification settings - Fork 138
Description
Your environment
F:\programming\source\repos\ruby\try_ferrum>ruby -v
- ruby: ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [x64-mingw-ucrt]
- rdbg: 1.4.0
Describe the bug
trying to run debug from vscode F5 to Debug current file and gives me an error
F:/windows/tools/ruby/Ruby31-x64/lib/ruby/gems/3.1.0/gems/debug-1.4.0/lib/debug/config.rb:384:in `check_dir_authority': C:/Users/DOMINI~1/AppData/Local/Temp/ruby-debug-sock-0's mode is 40755 (should be 040700) (RuntimeError)
same with rdbg --open
rdbg --open amazon1.rb
F:\programming\source\repos\ruby\try_ferrum>rdbg --open amazon1.rb
F:/windows/tools/ruby/Ruby31-x64/lib/ruby/gems/3.1.0/gems/debug-1.4.0/lib/debug/config.rb:384:in check_dir_authority': C:/Users/DOMINI~1/AppData/Local/Temp/ruby-debug-sock-0's mode is 40755 (should be 040700) (RuntimeError) from F:/windows/tools/ruby/Ruby31-x64/lib/ruby/gems/3.1.0/gems/debug-1.4.0/lib/debug/config.rb:401:in
unix_domain_socket_tmpdir'
from F:/windows/tools/ruby/Ruby31-x64/lib/ruby/gems/3.1.0/gems/debug-1.4.0/lib/debug/config.rb:421:in unix_domain_socket_dir' from F:/windows/tools/ruby/Ruby31-x64/lib/ruby/gems/3.1.0/gems/debug-1.4.0/lib/debug/server.rb:406:in
initialize'
from F:/windows/tools/ruby/Ruby31-x64/lib/ruby/gems/3.1.0/gems/debug-1.4.0/lib/debug/session.rb:1935:in new' from F:/windows/tools/ruby/Ruby31-x64/lib/ruby/gems/3.1.0/gems/debug-1.4.0/lib/debug/session.rb:1935:in
open_unix'
from F:/windows/tools/ruby/Ruby31-x64/lib/ruby/gems/3.1.0/gems/debug-1.4.0/lib/debug/session.rb:1911:in open' from F:/windows/tools/ruby/Ruby31-x64/lib/ruby/gems/3.1.0/gems/debug-1.4.0/lib/debug/open.rb:13:in
<top (required)>'
from internal:F:/windows/tools/ruby/Ruby31-x64/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb:85:in require' from <internal:F:/windows/tools/ruby/Ruby31-x64/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in
require'
To Reproduce
Expected behavior
expected to not have directory permission errors on windows
Additional context
Add any other context about the problem here.