るりまサーチ

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

別のキーワード

  1. _builtin setuid?
  2. pathname setuid?
  3. sys setuid
  4. stat setuid?
  5. file setuid?

検索結果

FileTest.#setuid?(file) -> bool (18112.0)

ファイルが setuid(2) されている時に真を返 します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。

...場合、あるいはシステムコールに失敗した場合などには false を返します。

@
param file ファイル名を表す文字列か IO オブジェクトを指定します。

@
raise IOError 指定された IO オブジェクト file が既に close されていた場合に発生...
...します。

//emlist[例][ruby]{
require 'fileutils'
IO.write("testfile", "")
FileUtils.chmod("u+s", "testfile")
FileTest.setuid?("testfile") # => true
FileUtils.chmod("u-s", "testfile")
FileTest.setuid?("testfile") # => false
//}...

Shell#setuid?(file) -> bool (18112.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@
param file ファイル名を表す文字列を指定します。

@
see FileTest.#setuid?...

Shell::CommandProcessor#setuid?(file) -> bool (18112.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@
param file ファイル名を表す文字列を指定します。

@
see FileTest.#setuid?...

Shell::Filter#setuid?(file) -> bool (18112.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@
param file ファイル名を表す文字列を指定します。

@
see FileTest.#setuid?...

Pathname#setuid? -> bool (18107.0)

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

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


@
see FileTest.#setuid?...

絞り込み条件を変える

File.setuid?(path) -> bool (18106.0)

FileTest.#setuid? と同じです。

...FileTest.#setuid? と同じです。

@
param path パスを表す文字列か IO オブジェクトを指定します。...