Hi Medya,
You can use File::Stat#uid
http://ruby-doc.org/core-2.2.1/File/Stat.html#method-i-uid
Please consider searching before sending questions like this to the
mailing list :-)
cheers,
--aj
On Sat, Mar 14, 2015 at 12:01 PM, Medya < "> > wrote:
> how can I add a guard to a folder that says
> run only_if the owner of /blahblah/ folder is medya ?
Archive powered by MHonArc 2.6.16.