file:change_owner/2
更改文件所属的用户
用法:
change_owner(Filename, Uid) -> ok | {error, Reason}
把文件 Filename 所属的用户改为 Uid
file:change_owner("./rebar.config", 21729).
更改文件所属的用户
用法:
change_owner(Filename, Uid) -> ok | {error, Reason}
把文件 Filename 所属的用户改为 Uid
file:change_owner("./rebar.config", 21729).