るりまサーチ

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

別のキーワード

  1. openssl integer
  2. asn1 integer
  3. _builtin integer
  4. integer upto
  5. integer digits

ライブラリ

クラス

キーワード

検索結果

<< < 1 2 >>

File.lchmod(mode, *filename) -> Integer (108.0)

File.chmod と同様ですが、シンボリックリンクに関してリンクそのものの モードを変更します。

...ドを呼び出すと発生します。

@raise Errno::EXXX モードの変更に失敗した場合に発生します。

//emlist[例][ruby]{
IO.write("testfile", "test")
File.symlink("testfile", "testlink")
File.lstat("testlink").ftype # => "link"
File.lchmod(0744, "testlink")
File.stat...

File.lchown(owner, group, *filename) -> Integer (108.0)

File#chown と同様ですが、 シンボリックリンクに関してリンクそのもののオーナー、 グループを変更します。

...otImplementedError lchown(2) を実装していないシステムでこのメソッドを呼び出すと発生します。

//emlist[例][ruby]{
IO.write("testfile", "test")
File.symlink("testfile", "testlink")
File.chown(501, -1, "testfile")
File.lstat("testlink").ftype # => "link"
File.lchown(0...
<< < 1 2 >>