[chef] Re: guard only if the owner if folder is ...


Chronological Thread 
  • From: AJ Christensen < >
  • To: " " < >
  • Subject: [chef] Re: guard only if the owner if folder is ...
  • Date: Sat, 14 Mar 2015 12:18:45 +1300

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.

§