るりまサーチ

最速Rubyリファレンスマニュアル検索!
22件ヒット [1-22件を表示] (0.011秒)
トップページ > クエリ:uid[x] > クラス:Pathname[x]

別のキーワード

  1. _builtin uid
  2. uid switch
  3. uid eid
  4. etc uid
  5. uid rid

ライブラリ

キーワード

検索結果

Pathname#setuid? -> bool (6101.0)

FileTest.setuid?(self.to_s) と同じです。

...FileTest.setuid?(self.to_s) と同じです。


@see FileTest.#setuid?...

Pathname#chown(owner, group) -> Integer (13.0)

File.chown(owner, group, self.to_s) と同じです。

...

@param owner オーナーを指定します。

@param group グループを指定します。

//emlist[例][ruby]{
require 'pathname'

Pathname
('testfile').stat.uid # => 501
Pathname
('testfile').chown(502, 12)
Pathname
('testfile').stat.uid # => 502
//}

@see File.chown, File#chown...