563件ヒット
[1-100件を表示]
(0.064秒)
種類
- インスタンスメソッド (290)
- モジュール関数 (180)
- 特異メソッド (60)
- クラス (24)
- モジュール (9)
ライブラリ
- ビルトイン (252)
- fileutils (33)
-
net
/ imap (116) -
net
/ pop (24) - pathname (12)
- rss (72)
- shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) - win32ole (36)
クラス
- File (48)
-
File
:: Stat (36) -
Net
:: IMAP (104) -
Net
:: IMAP :: ThreadMember (12) -
Net
:: POPMail (24) - Pathname (12)
-
RSS
:: Maker :: RSS20 :: Items :: Item :: Guid (24) -
RSS
:: Rss :: Channel :: Item (24) -
RSS
:: Rss :: Channel :: Item :: Guid (12) - Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) - WIN32OLE (12)
-
WIN32OLE
_ TYPE (12) -
WIN32OLE
_ TYPELIB (12)
モジュール
- FileTest (24)
- FileUtils (24)
- Kernel (24)
-
Process
:: Sys (60) -
Process
:: UID (48)
キーワード
- FileUtils (9)
- Guid (12)
- Stat (12)
-
change
_ privilege (12) - chown (36)
-
chown
_ R (12) - copy (12)
-
create
_ guid (12) -
grant
_ privilege (12) - guid (36)
- guid= (12)
- isPermaLink (24)
- isPermaLink= (12)
- lchown (12)
- move (10)
- new (12)
- owned? (12)
-
re
_ exchangeable? (12) - seqno (12)
- seteuid (12)
- setresuid (12)
- setreuid (12)
- setruid (12)
- setuid (12)
- setuid? (66)
-
sid
_ available? (12) - store (12)
- test (24)
- thread (12)
-
uid
_ copy (12) -
uid
_ move (10) -
uid
_ search (12) -
uid
_ store (12) -
uid
_ thread (12) - uidl (12)
-
unique
_ id (12)
検索結果
先頭5件
-
File
:: Stat # uid -> Integer (21107.0) -
オーナーのユーザIDを返します。
...オーナーのユーザIDを返します。
//emlist[][ruby]{
fs = File::Stat.new($0)
#例
p fs.uid #=> 0
//}... -
Net
:: POPMail # uidl -> String (12200.0) -
メールに対して振られた、サーバ上で一意な識別子 (UIDL) をかえします。
...メールに対して振られた、サーバ上で一意な識別子 (UIDL) をかえします。
Net::POPMail#number と違い、
この UIDL は接続しなおしても変化しません。... -
File
. setuid?(path) -> bool (9200.0) -
FileTest.#setuid? と同じです。
...FileTest.#setuid? と同じです。
@param path パスを表す文字列か IO オブジェクトを指定します。... -
File
:: Stat # setuid? -> bool (9200.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 (9200.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 (9200.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#setuid?... -
Shell
:: CommandProcessor # setuid?(file) -> bool (9200.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#setuid?... -
Shell
:: Filter # setuid?(file) -> bool (9200.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#setuid?... -
WIN32OLE
_ TYPE # guid -> String | nil (9200.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 (9118.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]...