From: Farrel Lifson Date: 2008-07-22T05:45:48+09:00 Subject: Re: Get Owner of a file File::Stat allows you to retrieve the numeric user ID (UID) of the owner of the file: File.stat("testfile").uid You can also get the Group ID with File.stat("testfile").gid Regards, Farrel Lifson Aimred - Ruby Development and Consulting http://www.aimred.com