查看网站首页
查看网站首页
查看 sitemap.xml
✏️ 正在编辑: chown-i.yaml
路径:
/opt/alt/ruby18/share/ri/1.8/system/FileUtils/chown-i.yaml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Options: noop verbose" - !ruby/struct:SM::Flow::P body: Changes owner and group on the named files (in <tt>list</tt>) to the user <tt>user</tt> and the group <tt>group</tt>. <tt>user</tt> and <tt>group</tt> may be an ID (Integer/String) or a name (String). If <tt>user</tt> or <tt>group</tt> is nil, this method does not change the attribute. - !ruby/struct:SM::Flow::VERB body: " FileUtils.chown 'root', 'staff', '/usr/local/bin/ruby'\n FileUtils.chown nil, 'bin', Dir.glob('/usr/bin/*'), :verbose => true\n" full_name: FileUtils#chown is_singleton: false name: chown params: (user, group, list, options = {}) visibility: public
💾 保存文件
← 返回文件管理器