るりまサーチ

最速Rubyリファレンスマニュアル検索!
10件ヒット [1-10件を表示] (0.060秒)

別のキーワード

  1. file lstat
  2. pathname lstat
  3. _builtin lstat
  4. shell lstat

検索結果

NEWS for Ruby 2.5.0 (205.0)

NEWS for Ruby 2.5.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...ました 11286

* File
* File.open :newline オプションを指定するとテキストモードになります 13350
* File#path はFile::Constants::TMPFILE付きで開いたファイルに対して IOError を発生させます
13568
* File.stat, File.exist? など rb_stat()...
...13731
* File.readable?, File.readable_real?, File.writable?, File.writable_real?,
File
.executable?, File.executable_real?, File.mkfifo, File.readlink,
File
.truncate, File#truncate, File.chmod, File.lchmod, File.chown,
File
.lchown, File.unlink, File.utime, File.lstat はGVLを...
...his much improves the speed of generating documents.
* It also facilitates supporting new syntax in the future.
* Support many new syntaxes of Ruby from the past few years.
* Use "frozen_string_literal: true".
This reduces document generation time by 5%.
* Support d...

セキュリティモデル (79.0)

セキュリティモデル RubyにはCGI等のプログラミングを安全に行うことを助ける為に、セキュリティ 機構が備わっています。

...ェクト

* レベル0と同様

===== 禁止される操作
* 汚染された文字列を引数とした以下の操作

* Dir, IO, File, FileTest のメソッド呼び出し
//emlist{
$ ruby -e '$SAFE = 1; open(ARGV[0])' hoge
-e:1:in `initialize': Insecure operatio...
...止されます。

* Dir.chdir Dir.chroot Dir.mkdir Dir.rmdir
* File.chown File.chmod File.umask File.truncate
File
#lstat File#chmod File#chown File.delete File.unlink
File
#truncate File#flock
および FileTest モジュールのメソッド
* IO#ioctl, IO#fcntl
* Proces...