stat.setuid? â true or false
Instance Public methods
Returns true
if stat has the set-user-id permission
bit set, false
if it doesn't or if the operating system
doesn't support this feature.
1 | File .stat( "/bin/su" ).setuid? #=> true |
Please login to continue.