- From: Allan Wind <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Re: Re: Re: Template resource: default value for mode attribute?
- Date: Wed, 15 Jun 2011 10:38:06 -0400
On 2011-06-15 08:02:36, Brian Akins wrote:
>
Does cp truncate the target file then write it? I'd like to avoid that if
>
possible. Some daemons don't like that.
$ 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
/Allan
--
Allan Wind
Life Integrity, LLC
<
http://lifeintegrity.com>
- [chef] Template resource: default value for mode attribute?, Faiz Kazi, 06/02/2011
- [chef] Re: Template resource: default value for mode attribute?, Matt Ray, 06/03/2011
- [chef] Re: Re: Template resource: default value for mode attribute?, Adam Jacob, 06/03/2011
- [chef] Re: Re: Re: Template resource: default value for mode attribute?, Matt Ray, 06/03/2011
- [chef] Re: Re: Re: Template resource: default value for mode attribute?, Faiz Kazi, 06/04/2011
- [chef] Re: Re: Re: Re: Template resource: default value for mode attribute?, Bob Corsaro, 06/05/2011
- [chef] Re: Re: Re: Re: Template resource: default value for mode attribute?, Adam Jacob, 06/05/2011
- [chef] Re: Re: Re: Re: Re: Template resource: default value for mode attribute?, Faiz Kazi, 06/10/2011
- [chef] Re: Re: Re: Re: Re: Re: Template resource: default value for mode attribute?, Brian Akins, 06/15/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: Template resource: default value for mode attribute?, Allan Wind, 06/15/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Template resource: default value for mode attribute?, Brian Akins, 06/15/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Template resource: default value for mode attribute?, Daniel DeLeo, 06/15/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Template resource: default value for mode attribute?, Faiz Kazi, 06/15/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Template resource: default value for mode attribute?, Faiz Kazi, 06/16/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Template resource: default value for mode attribute?, Brian Akins, 06/16/2011
Archive powered by MHonArc 2.6.16.