るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.428秒)
トップページ > クエリ:File.stat[x] > クエリ:gid[x] > クエリ:dev_minor[x] > クエリ:writable?[x] > クエリ:file?[x] > クエリ:parser_for[x] > 種類:ライブラリ[x]

別のキーワード

  1. _builtin new
  2. _builtin inspect
  3. _builtin []
  4. _builtin to_s
  5. _builtin each

検索結果

find (37.0)

ディレクトリ配下のファイルを探索するためのモジュールです。

...人が書き込み可能な危険なコマンドを探す

for dir in ENV['PATH'].split(File::PATH_SEPARATOR)
Find.find(dir) do |fpath|
if File.file?(fpath) and (File.stat(fpath).mode & 022) != 0
printf("file %s is writable from other users\n", fpath)
end
end
end...