[chef] Re: Re: Re: Re: Re: Re: Re: Re: Template resource: default value for mode attribute?


Chronological Thread 
  • From: Brian Akins < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: Re: Re: Re: Template resource: default value for mode attribute?
  • Date: Wed, 15 Jun 2011 11:43:29 -0400



On Wed, Jun 15, 2011 at 10:38 AM, Allan Wind < "> > wrote:

$ strace cp 1 2
...
open("1", O_RDONLY)                     = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1048576, ...}) = 0
open("2", O_WRONLY|O_TRUNC)             = 4


Confirmed that FileUtils.cp does the same.  Probably not a good thing.



Archive powered by MHonArc 2.6.16.

§