https://bugs.ruby-lang.org/
https://bugs.ruby-lang.org/favicon.ico?1711330511
2019-01-22T10:40:37Z
Ruby Issue Tracking System
Ruby master - Bug #15555: Dir.mktmpdir checks permissions and raise ArgumentError after yielding to block (ensure) & leaks allocated tempdir
https://bugs.ruby-lang.org/issues/15555?journal_id=76455
2019-01-22T10:40:37Z
kbogtob (Karim Bogtob)
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/76455/diff?detail_id=51100">diff</a>)</li></ul>
Ruby master - Bug #15555: Dir.mktmpdir checks permissions and raise ArgumentError after yielding to block (ensure) & leaks allocated tempdir
https://bugs.ruby-lang.org/issues/15555?journal_id=76456
2019-01-22T12:23:17Z
znz (Kazuhiro NISHIYAMA)
<ul></ul><p><a href="https://github.com/ruby/ruby/commit/bcb9e567c422f535b4871ce2795179af808d0077" class="external">https://github.com/ruby/ruby/commit/bcb9e567c422f535b4871ce2795179af808d0077</a> changes from <code>FileUtils.remove_entry_secure</code> to checking stat and <code>FileUtils.remove_entry</code>.<br>
So I think splitting checking and <code>FileUtils.remove_entry</code> is not good.</p>
Ruby master - Bug #15555: Dir.mktmpdir checks permissions and raise ArgumentError after yielding to block (ensure) & leaks allocated tempdir
https://bugs.ruby-lang.org/issues/15555?journal_id=76458
2019-01-23T06:06:51Z
nobu (Nobuyoshi Nakada)
nobu@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>Applied in changeset trunk|r66909.</p>
<hr>
<p>tmpdir.rb: permission of user given directory</p>
<ul>
<li>lib/tmpdir.rb (Dir.mktmpdir): check if the permission of the<br>
parent directory only when using the default temporary<br>
directory, and no check against user given directory. the<br>
security is the user's responsibility in that case.<br>
<a href="/issues/15555">[ruby-core:91216]</a> [Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: Dir.mktmpdir checks permissions and raise ArgumentError after yielding to block (ensure) & leaks ... (Closed)" href="https://bugs.ruby-lang.org/issues/15555">#15555</a>]</li>
</ul>
Ruby master - Bug #15555: Dir.mktmpdir checks permissions and raise ArgumentError after yielding to block (ensure) & leaks allocated tempdir
https://bugs.ruby-lang.org/issues/15555?journal_id=76565
2019-01-29T07:20:08Z
nobu (Nobuyoshi Nakada)
nobu@ruby-lang.org
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/76565/diff?detail_id=51137">diff</a>)</li><li><strong>Backport</strong> changed from <i>2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN</i> to <i>2.4: REQUIRED, 2.5: REQUIRED, 2.6: REQUIRED</i></li></ul>
Ruby master - Bug #15555: Dir.mktmpdir checks permissions and raise ArgumentError after yielding to block (ensure) & leaks allocated tempdir
https://bugs.ruby-lang.org/issues/15555?journal_id=76566
2019-01-29T09:19:57Z
naruse (Yui NARUSE)
naruse@airemix.jp
<ul><li><strong>Backport</strong> changed from <i>2.4: REQUIRED, 2.5: REQUIRED, 2.6: REQUIRED</i> to <i>2.4: REQUIRED, 2.5: REQUIRED, 2.6: DONE</i></li></ul><p>ruby_2_6 r66941 merged revision(s) 66909.</p>
Ruby master - Bug #15555: Dir.mktmpdir checks permissions and raise ArgumentError after yielding to block (ensure) & leaks allocated tempdir
https://bugs.ruby-lang.org/issues/15555?journal_id=76908
2019-02-28T14:55:08Z
usa (Usaku NAKAMURA)
usa@garbagecollect.jp
<ul><li><strong>Backport</strong> changed from <i>2.4: REQUIRED, 2.5: REQUIRED, 2.6: DONE</i> to <i>2.4: DONE, 2.5: REQUIRED, 2.6: DONE</i></li></ul><p>ruby_2_4 r67148 merged revision(s) 66909.</p>
Ruby master - Bug #15555: Dir.mktmpdir checks permissions and raise ArgumentError after yielding to block (ensure) & leaks allocated tempdir
https://bugs.ruby-lang.org/issues/15555?journal_id=77078
2019-03-13T00:21:50Z
nagachika (Tomoyuki Chikanaga)
nagachika00@gmail.com
<ul><li><strong>Backport</strong> changed from <i>2.4: DONE, 2.5: REQUIRED, 2.6: DONE</i> to <i>2.4: DONE, 2.5: DONE, 2.6: DONE</i></li></ul><p>ruby_2_5 r67241 merged revision(s) 66909.</p>