種類
- インスタンスメソッド (212)
- モジュール関数 (165)
- 特異メソッド (55)
ライブラリ
- ビルトイン (220)
- fileutils (22)
-
net
/ imap (106) -
net
/ pop (22) - pathname (11)
- shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) - win32ole (33)
クラス
- File (44)
-
File
:: Stat (33) -
Net
:: IMAP (95) -
Net
:: IMAP :: ThreadMember (11) -
Net
:: POPMail (22) - Pathname (11)
- Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) - WIN32OLE (11)
-
WIN32OLE
_ TYPE (11) -
WIN32OLE
_ TYPELIB (11)
モジュール
- FileTest (22)
- FileUtils (22)
- Kernel (22)
-
Process
:: Sys (55) -
Process
:: UID (44)
キーワード
-
change
_ privilege (11) - chown (33)
-
chown
_ R (11) - copy (11)
-
create
_ guid (11) -
grant
_ privilege (11) - guid (22)
- lchown (11)
- move (9)
- new (11)
- owned? (11)
-
re
_ exchangeable? (11) - seqno (11)
- seteuid (11)
- setresuid (11)
- setreuid (11)
- setruid (11)
- setuid (11)
- setuid? (62)
-
sid
_ available? (11) - store (11)
- test (22)
- thread (11)
-
uid
_ copy (11) -
uid
_ move (9) -
uid
_ search (11) -
uid
_ store (11) -
uid
_ thread (11) - uidl (11)
-
unique
_ id (11)
検索結果
先頭5件
-
File
:: Stat # uid -> Integer (21207.0) -
オーナーのユーザIDを返します。
...オーナーのユーザIDを返します。
//emlist[][ruby]{
fs = File::Stat.new($0)
#例
p fs.uid #=> 0
//}... -
Net
:: POPMail # uidl -> String (12300.0) -
メールに対して振られた、サーバ上で一意な識別子 (UIDL) をかえします。
...メールに対して振られた、サーバ上で一意な識別子 (UIDL) をかえします。
Net::POPMail#number と違い、
この UIDL は接続しなおしても変化しません。... -
File
. setuid?(path) -> bool (9300.0) -
FileTest.#setuid? と同じです。
...FileTest.#setuid? と同じです。
@param path パスを表す文字列か IO オブジェクトを指定します。... -
File
:: Stat # setuid? -> bool (9300.0) -
setuidされている時に真を返します。
...setuidされている時に真を返します。
//emlist[][ruby]{
Dir.glob("/bin/*") {|bd|
if File::Stat.new(bd).setuid?
puts bd
end
}
#例
#...
#=> /bin/ping
#=> /bin/su
#...
//}... -
FileTest
. # setuid?(file) -> bool (9300.0) -
ファイルが setuid(2) されている時に真を返 します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
...ファイルが setuid(2) されている時に真を返
します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
@param file ファイル名を表す文字列か 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 (9300.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#setuid?... -
Shell
:: CommandProcessor # setuid?(file) -> bool (9300.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#setuid?... -
Shell
:: Filter # setuid?(file) -> bool (9300.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#setuid?... -
WIN32OLE
_ TYPE # guid -> String | nil (9300.0) -
この型のGUID(グローバル一意識別子)を取得します。
...この型のGUID(グローバル一意識別子)を取得します。
@return GUIDを文字列で返します。GUIDを持たない型の場合はnilを返します。
tobj = WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'Application')
puts tobj.guid # => {00024500-0000-0000-C0......00-000000000046}
GUIDは、COMのクラス識別子(CLSID)、インターフェイス識別子(IID)など多数の
領域でWindows上のオブジェクトの識別に利用される128ビットの値です。... -
Process
:: UID . # change _ privilege(id) -> Integer (9218.0) -
実ユーザ ID・実効ユーザ ID・保存ユーザ ID のすべてを指定された id に変更します。 成功したら id を返します。主に root 権限を完全に放棄するために使います。
...れません。
@raise NotImplementedError メソッドが現在のプラットフォームで実装されていない場合に発生します。
[Process.uid, Process.euid] #=> [0, 0]
Process::UID.change_privilege(33) #=> 33
[Process.uid, Process.euid] #=> [33, 33]... -
Process
:: UID . # re _ exchangeable? -> bool (9216.0) -
Process::UID.#re_exchange が実装されているならば true を返します。そうでない場合に false を返します。
...Process::UID.#re_exchange が実装されているならば true を返します。そうでない場合に false を返します。...