setgid? Returns true if it has the set group id permission bit set : setgid « File Directory « Ruby






setgid? Returns true if it has the set group id permission bit set


File.stat("testfile").setgid?  
File.stat("/usr/sbin/postdrop").setgid?  

 

Related examples in the same category