るりまサーチ

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

別のキーワード

  1. _builtin >
  2. bigdecimal >
  3. module >
  4. integer >
  5. complex >

ライブラリ

クラス

モジュール

キーワード

検索結果

Process::Sys.#setuid(id) -> nil (36818.0)

システムコールの setuid(2) を呼びます。

...システムコールの setuid(2) を呼びます。

@raise NotImplementedError システムコールが現在のプラットフォームで提供されていない場合に発生します。

@raise Errno::EXXX システムコールに失敗した場合に発生します。...

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

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

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

@param file ファイル名を表す文字列か IO オブジェクトを...
...raise IOError 指定された IO オブジェクト file が既に close されていた場合に発生します。

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

File::Stat#setuid? -> bool (24623.0)

setuidされている時に真を返します。

...setuidされている時に真を返します。

//emlist[][ruby]{
D
ir.glob("/bin/*") {|bd|
i
f File::Stat.new(bd).setuid?
puts bd
end
}
#例
#...
#=> /bin/ping
#=> /bin/su
#...
//}...

Pathname#setuid? -> bool (24623.0)

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

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


@see FileTest.#setuid?...

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

FileTest.#setuid? と同じです。

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

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

絞り込み条件を変える

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

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

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

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

@see FileTest.#setuid?...

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

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

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

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

@see FileTest.#setuid?...

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

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

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

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

@see FileTest.#setuid?...

Process::Sys.#issetugid -> bool (18506.0)

システムコールの issetugid() を呼びます。

...システムコールの issetugid() を呼びます。

プロセスが setuid もしくは setgid ビットを使って
起動されている場合に真を返します。

@raise NotImplementedError システムコールが現在のプラットフォームで提供されていない場合に発...