22件ヒット
[1-22件を表示]
(0.011秒)
別のキーワード
検索結果
-
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...