stat.owned? â true or false
Instance Public methods
Returns true
if the effective user id of the process is the
same as the owner of stat.
File.stat("testfile").owned? #=> true File.stat("/etc/passwd").owned? #=> false
Returns true
if the effective user id of the process is the
same as the owner of stat.
File.stat("testfile").owned? #=> true File.stat("/etc/passwd").owned? #=> false
Please login to continue.