JRuby (please use github issues at http://bugs.jruby.org)
  1. JRuby (please use github issues at http://bugs.jruby.org)
  2. JRUBY-4440

[windows] Dir.mkdir creates the named directory with wrong permissions

    Details

    • Number of attachments :
      0

      Description

      On windows, RubySpec failure:

      mspec -t j core\dir
      jruby 1.5.0.dev (ruby 1.8.7 patchlevel 174) (2010-01-08 f024eb2) (Java HotSpot(TM) Client VM 1.6.0_17) [x86-java]
      
      1)
      Dir.mkdir creates the named directory with the given permissions FAILED
      Expected 16877
       not to equal 16877
      
      D:/work/jruby-dev/rubyspec.git/core/dir/mkdir_spec.rb:30
      D:/work/jruby-dev/rubyspec.git/core/dir/mkdir_spec.rb:26
      D:/work/jruby-dev/rubyspec.git/core/dir/mkdir_spec.rb:4
      D:/work/jruby-dev/rubyspec.git/core/dir/mkdir_spec.rb:55:in `load'
      D:/work/jruby-dev/mspec.git/bin/mspec-run:8
      

        Activity

        Hide
        Charles Oliver Nutter added a comment -

        Looks like we need jnr-posix to incoporate Luca's changes for this one. Marking for 1.6, but may not make RC3 (todayish).

        Show
        Charles Oliver Nutter added a comment - Looks like we need jnr-posix to incoporate Luca's changes for this one. Marking for 1.6, but may not make RC3 (todayish).
        Hide
        Luca Simone added a comment -

        I've already done a pull request to jruby/jnr-posix. Ready to merge

        Show
        Luca Simone added a comment - I've already done a pull request to jruby/jnr-posix. Ready to merge
        Hide
        Charles Oliver Nutter added a comment -

        Looks like this fell through the cracks. Patch provided for jnr-posix, just need to pull it in?

        Show
        Charles Oliver Nutter added a comment - Looks like this fell through the cracks. Patch provided for jnr-posix, just need to pull it in?
        Hide
        Charles Oliver Nutter added a comment -

        Marked as blocker for 1.6.4, so it doesn't fall again.

        Show
        Charles Oliver Nutter added a comment - Marked as blocker for 1.6.4, so it doesn't fall again.
        Hide
        Thomas E Enebo added a comment -

        Applied to next upcoming version of jnr-posix for 1.6.x and also different jnr-posix being used for master. Thanks lukefx.

        Show
        Thomas E Enebo added a comment - Applied to next upcoming version of jnr-posix for 1.6.x and also different jnr-posix being used for master. Thanks lukefx.

          People

          • Assignee:
            Thomas E Enebo
            Reporter:
            Vladimir Sizikov
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: