ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:55564] [ruby-trunk - Bug #8547][Open] FileUtils.chmod("a+r", "foobar", verbose: true) crashes
@ 2013-06-20  4:04 gurgeous (Adam Doppelt)
  2013-06-20  7:49 ` [ruby-core:55569] [ruby-trunk - Bug #8547] " nagachika (Tomoyuki Chikanaga)
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: gurgeous (Adam Doppelt) @ 2013-06-20  4:04 UTC (permalink / raw
  To: ruby-core


Issue #8547 has been reported by gurgeous (Adam Doppelt).

----------------------------------------
Bug #8547: FileUtils.chmod("a+r", "foobar", verbose: true) crashes
https://bugs.ruby-lang.org/issues/8547

Author: gurgeous (Adam Doppelt)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: ruby 2.0.0p195
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


To reproduce in IRB:

>> require "fileutils" ; FileUtils.chmod("a+r", "foobar", verbose: true)

Here's the stack:

NoMethodError: undefined method `mode_to_s' for FileUtils:Module
	from ~/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/fileutils.rb:970:in `chmod'

This ONLY crashes with :verbose. If you leave off :verbose it skips the call to mode_to_s, so there's no crash.


-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:55569] [ruby-trunk - Bug #8547] FileUtils.chmod("a+r", "foobar", verbose: true) crashes
  2013-06-20  4:04 [ruby-core:55564] [ruby-trunk - Bug #8547][Open] FileUtils.chmod("a+r", "foobar", verbose: true) crashes gurgeous (Adam Doppelt)
@ 2013-06-20  7:49 ` nagachika (Tomoyuki Chikanaga)
  2013-06-20  8:01 ` [ruby-core:55570] " robotmay (Robert May)
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: nagachika (Tomoyuki Chikanaga) @ 2013-06-20  7:49 UTC (permalink / raw
  To: ruby-core


Issue #8547 has been updated by nagachika (Tomoyuki Chikanaga).

Backport changed from 1.9.3: UNKNOWN, 2.0.0: UNKNOWN to 1.9.3: DONTNEED, 2.0.0: REQUIRED


----------------------------------------
Bug #8547: FileUtils.chmod("a+r", "foobar", verbose: true) crashes
https://bugs.ruby-lang.org/issues/8547#change-40063

Author: gurgeous (Adam Doppelt)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: ruby 2.0.0p195
Backport: 1.9.3: DONTNEED, 2.0.0: REQUIRED


To reproduce in IRB:

>> require "fileutils" ; FileUtils.chmod("a+r", "foobar", verbose: true)

Here's the stack:

NoMethodError: undefined method `mode_to_s' for FileUtils:Module
	from ~/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/fileutils.rb:970:in `chmod'

This ONLY crashes with :verbose. If you leave off :verbose it skips the call to mode_to_s, so there's no crash.


-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:55570] [ruby-trunk - Bug #8547] FileUtils.chmod("a+r", "foobar", verbose: true) crashes
  2013-06-20  4:04 [ruby-core:55564] [ruby-trunk - Bug #8547][Open] FileUtils.chmod("a+r", "foobar", verbose: true) crashes gurgeous (Adam Doppelt)
  2013-06-20  7:49 ` [ruby-core:55569] [ruby-trunk - Bug #8547] " nagachika (Tomoyuki Chikanaga)
@ 2013-06-20  8:01 ` robotmay (Robert May)
  2013-06-22  4:05 ` [ruby-core:55588] " nobu (Nobuyoshi Nakada)
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: robotmay (Robert May) @ 2013-06-20  8:01 UTC (permalink / raw
  To: ruby-core


Issue #8547 has been updated by robotmay (Robert May).


I submitted a pull request on the GitHub mirror which fixes the issue. Whether it's the correct fix I can't be certain, as I've not submitted code to Ruby core before :)

https://github.com/ruby/ruby/pull/329
----------------------------------------
Bug #8547: FileUtils.chmod("a+r", "foobar", verbose: true) crashes
https://bugs.ruby-lang.org/issues/8547#change-40064

Author: gurgeous (Adam Doppelt)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: ruby 2.0.0p195
Backport: 1.9.3: DONTNEED, 2.0.0: REQUIRED


To reproduce in IRB:

>> require "fileutils" ; FileUtils.chmod("a+r", "foobar", verbose: true)

Here's the stack:

NoMethodError: undefined method `mode_to_s' for FileUtils:Module
	from ~/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/fileutils.rb:970:in `chmod'

This ONLY crashes with :verbose. If you leave off :verbose it skips the call to mode_to_s, so there's no crash.


-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:55588] [ruby-trunk - Bug #8547] FileUtils.chmod("a+r", "foobar", verbose: true) crashes
  2013-06-20  4:04 [ruby-core:55564] [ruby-trunk - Bug #8547][Open] FileUtils.chmod("a+r", "foobar", verbose: true) crashes gurgeous (Adam Doppelt)
  2013-06-20  7:49 ` [ruby-core:55569] [ruby-trunk - Bug #8547] " nagachika (Tomoyuki Chikanaga)
  2013-06-20  8:01 ` [ruby-core:55570] " robotmay (Robert May)
@ 2013-06-22  4:05 ` nobu (Nobuyoshi Nakada)
  2013-11-29 10:18 ` [ruby-core:58684] [ruby-trunk - Bug #8547][Feedback] " hsbt (Hiroshi SHIBATA)
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: nobu (Nobuyoshi Nakada) @ 2013-06-22  4:05 UTC (permalink / raw
  To: ruby-core


Issue #8547 has been updated by nobu (Nobuyoshi Nakada).


Seems there is no tests for module methods.
----------------------------------------
Bug #8547: FileUtils.chmod("a+r", "foobar", verbose: true) crashes
https://bugs.ruby-lang.org/issues/8547#change-40078

Author: gurgeous (Adam Doppelt)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: ruby 2.0.0p195
Backport: 1.9.3: DONTNEED, 2.0.0: REQUIRED


To reproduce in IRB:

>> require "fileutils" ; FileUtils.chmod("a+r", "foobar", verbose: true)

Here's the stack:

NoMethodError: undefined method `mode_to_s' for FileUtils:Module
	from ~/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/fileutils.rb:970:in `chmod'

This ONLY crashes with :verbose. If you leave off :verbose it skips the call to mode_to_s, so there's no crash.


-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:58684] [ruby-trunk - Bug #8547][Feedback] FileUtils.chmod("a+r", "foobar", verbose: true) crashes
  2013-06-20  4:04 [ruby-core:55564] [ruby-trunk - Bug #8547][Open] FileUtils.chmod("a+r", "foobar", verbose: true) crashes gurgeous (Adam Doppelt)
                   ` (2 preceding siblings ...)
  2013-06-22  4:05 ` [ruby-core:55588] " nobu (Nobuyoshi Nakada)
@ 2013-11-29 10:18 ` hsbt (Hiroshi SHIBATA)
  2017-05-16  1:08 ` [ruby-core:81183] [Ruby trunk Bug#8547][Third Party's Issue] " takashikkbn
  2017-05-16  4:23 ` [ruby-core:81192] [Ruby trunk Bug#8547] " s.wanabe
  5 siblings, 0 replies; 7+ messages in thread
From: hsbt (Hiroshi SHIBATA) @ 2013-11-29 10:18 UTC (permalink / raw
  To: ruby-core


Issue #8547 has been updated by hsbt (Hiroshi SHIBATA).

Status changed from Open to Feedback


----------------------------------------
Bug #8547: FileUtils.chmod("a+r", "foobar", verbose: true) crashes
https://bugs.ruby-lang.org/issues/8547#change-43252

Author: gurgeous (Adam Doppelt)
Status: Feedback
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: ruby 2.0.0p195
Backport: 1.9.3: DONTNEED, 2.0.0: REQUIRED


To reproduce in IRB:

>> require "fileutils" ; FileUtils.chmod("a+r", "foobar", verbose: true)

Here's the stack:

NoMethodError: undefined method `mode_to_s' for FileUtils:Module
	from ~/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/fileutils.rb:970:in `chmod'

This ONLY crashes with :verbose. If you leave off :verbose it skips the call to mode_to_s, so there's no crash.


-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:81183] [Ruby trunk Bug#8547][Third Party's Issue] FileUtils.chmod("a+r", "foobar", verbose: true) crashes
  2013-06-20  4:04 [ruby-core:55564] [ruby-trunk - Bug #8547][Open] FileUtils.chmod("a+r", "foobar", verbose: true) crashes gurgeous (Adam Doppelt)
                   ` (3 preceding siblings ...)
  2013-11-29 10:18 ` [ruby-core:58684] [ruby-trunk - Bug #8547][Feedback] " hsbt (Hiroshi SHIBATA)
@ 2017-05-16  1:08 ` takashikkbn
  2017-05-16  4:23 ` [ruby-core:81192] [Ruby trunk Bug#8547] " s.wanabe
  5 siblings, 0 replies; 7+ messages in thread
From: takashikkbn @ 2017-05-16  1:08 UTC (permalink / raw
  To: ruby-core

Issue #8547 has been updated by k0kubun (Takashi Kokubun).

Status changed from Feedback to Third Party's Issue
Backport deleted (1.9.3: DONTNEED, 2.0.0: REQUIRED)

It seems that original issue is resolved https://github.com/gurgeous/teleport/issues/22.

----------------------------------------
Bug #8547: FileUtils.chmod("a+r", "foobar", verbose: true) crashes
https://bugs.ruby-lang.org/issues/8547#change-64836

* Author: gurgeous (Adam Doppelt)
* Status: Third Party's Issue
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.0.0p195
* Backport: 
----------------------------------------
To reproduce in IRB:

>> require "fileutils" ; FileUtils.chmod("a+r", "foobar", verbose: true)

Here's the stack:

NoMethodError: undefined method `mode_to_s' for FileUtils:Module
	from ~/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/fileutils.rb:970:in `chmod'

This ONLY crashes with :verbose. If you leave off :verbose it skips the call to mode_to_s, so there's no crash.



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ruby-core:81192] [Ruby trunk Bug#8547] FileUtils.chmod("a+r", "foobar", verbose: true) crashes
  2013-06-20  4:04 [ruby-core:55564] [ruby-trunk - Bug #8547][Open] FileUtils.chmod("a+r", "foobar", verbose: true) crashes gurgeous (Adam Doppelt)
                   ` (4 preceding siblings ...)
  2017-05-16  1:08 ` [ruby-core:81183] [Ruby trunk Bug#8547][Third Party's Issue] " takashikkbn
@ 2017-05-16  4:23 ` s.wanabe
  5 siblings, 0 replies; 7+ messages in thread
From: s.wanabe @ 2017-05-16  4:23 UTC (permalink / raw
  To: ruby-core

Issue #8547 has been updated by wanabe (_ wanabe).


I guess it was fixed at r41853 before v2_1_0_preview1 and backported to ruby2_0_0 at r41946 [Backport #8633].

----------------------------------------
Bug #8547: FileUtils.chmod("a+r", "foobar", verbose: true) crashes
https://bugs.ruby-lang.org/issues/8547#change-64845

* Author: gurgeous (Adam Doppelt)
* Status: Third Party's Issue
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.0.0p195
* Backport: 
----------------------------------------
To reproduce in IRB:

>> require "fileutils" ; FileUtils.chmod("a+r", "foobar", verbose: true)

Here's the stack:

NoMethodError: undefined method `mode_to_s' for FileUtils:Module
	from ~/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/fileutils.rb:970:in `chmod'

This ONLY crashes with :verbose. If you leave off :verbose it skips the call to mode_to_s, so there's no crash.



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-05-16  3:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-20  4:04 [ruby-core:55564] [ruby-trunk - Bug #8547][Open] FileUtils.chmod("a+r", "foobar", verbose: true) crashes gurgeous (Adam Doppelt)
2013-06-20  7:49 ` [ruby-core:55569] [ruby-trunk - Bug #8547] " nagachika (Tomoyuki Chikanaga)
2013-06-20  8:01 ` [ruby-core:55570] " robotmay (Robert May)
2013-06-22  4:05 ` [ruby-core:55588] " nobu (Nobuyoshi Nakada)
2013-11-29 10:18 ` [ruby-core:58684] [ruby-trunk - Bug #8547][Feedback] " hsbt (Hiroshi SHIBATA)
2017-05-16  1:08 ` [ruby-core:81183] [Ruby trunk Bug#8547][Third Party's Issue] " takashikkbn
2017-05-16  4:23 ` [ruby-core:81192] [Ruby trunk Bug#8547] " s.wanabe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).