179件ヒット
[1-100件を表示]
(0.154秒)
種類
- インスタンスメソッド (91)
- 特異メソッド (55)
- 定数 (22)
- 文書 (11)
ライブラリ
- ビルトイン (55)
- etc (22)
- pathname (55)
- shell (12)
-
shell
/ command-processor (12) -
shell
/ filter (12)
クラス
- File (55)
- Pathname (55)
- Shell (12)
-
Shell
:: CommandProcessor (12) -
Shell
:: Filter (12)
モジュール
- Etc (22)
キーワード
-
PC
_ CHOWN _ RESTRICTED (11) -
PC
_ PATH _ MAX (11) - cleanpath (11)
- lchmod (11)
- lchown (11)
-
make
_ symlink (11) - readlink (11)
- realpath (33)
-
ruby 1
. 6 feature (11) - symlink? (40)
検索結果
先頭5件
-
Shell
# symlink(old , new) -> 0 (27207.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param old ファイル名を表す文字列を指定します。
@param new シンボリックリンクを表す文字列を指定します。
@see File.symlink... -
Shell
:: CommandProcessor # symlink(old , new) -> 0 (27207.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param old ファイル名を表す文字列を指定します。
@param new シンボリックリンクを表す文字列を指定します。
@see File.symlink... -
Shell
:: Filter # symlink(old , new) -> 0 (27207.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param old ファイル名を表す文字列を指定します。
@param new シンボリックリンクを表す文字列を指定します。
@see File.symlink... -
Pathname
# make _ symlink(old) -> 0 (15223.0) -
File.symlink(old, self.to_s) と同じです。
...File.symlink(old, self.to_s) と同じです。
@see File.symlink... -
Pathname
# symlink? -> bool (15223.0) -
FileTest.symlink?(self.to_s) と同じです。
...FileTest.symlink?(self.to_s) と同じです。
@see FileTest.#symlink?... -
Shell
# symlink?(file) -> bool (15207.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#symlink?... -
Shell
:: CommandProcessor # symlink?(file) -> bool (15207.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#symlink?... -
Shell
:: Filter # symlink?(file) -> bool (15207.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#symlink?... -
File
. symlink?(path) -> bool (12317.0) -
FileTest.#symlink? と同じです。
...FileTest.#symlink? と同じです。
@param path パスを表す文字列か IO オブジェクトを指定します。... -
Etc
:: PC _ CHOWN _ RESTRICTED -> Integer (12201.0) -
IO#pathconf の引数に指定します。
...
IO#pathconf の引数に指定します。
詳細は fpathconf(3) を参照してください。... -
File
. lchmod(mode , *filename) -> Integer (9206.0) -
File.chmod と同様ですが、シンボリックリンクに関してリンクそのものの モードを変更します。
...File.chmod と同様ですが、シンボリックリンクに関してリンクそのものの
モードを変更します。
@param filename ファイル名を表す文字列を指定します。
@param mode chmod(2) と同様に整数で指定します。
@raise NotImplementedError lchmod(2)......します。
@raise Errno::EXXX モードの変更に失敗した場合に発生します。
//emlist[例][ruby]{
IO.write("testfile", "test")
File.symlink("testfile", "testlink")
File.lstat("testlink").ftype # => "link"
File.lchmod(0744, "testlink")
File.stat("testlink").mode.to_s(8)......# => "100644"
File.lstat("testlink").mode.to_s(8) # => "120744"
//}... -
File
. lchown(owner , group , *filename) -> Integer (9206.0) -
File#chown と同様ですが、 シンボリックリンクに関してリンクそのもののオーナー、 グループを変更します。
...File#chown と同様ですが、
シンボリックリンクに関してリンクそのもののオーナー、
グループを変更します。
@param filename ファイル名を表す文字列を指定します。
@param owner chown(2) と同様に数値で指定します。nil または -1......p chown(2) と同様に数値で指定します。nil または -1 を指定することで、グループを現在のままにすることができます。
@raise NotImplementedError lchown(2) を実装していないシステムでこのメソッドを呼び出すと発生します。
//emlist[......例][ruby]{
IO.write("testfile", "test")
File.symlink("testfile", "testlink")
File.chown(501, -1, "testfile")
File.lstat("testlink").ftype # => "link"
File.lchown(0, -1, "testlink")
File.stat("testlink").uid # => 501
File.lstat("testlink").uid # => 0
//}...