Class: Chef::FileContentManagement::Deploy::Cp
- Inherits:
-
Object
- Object
- Chef::FileContentManagement::Deploy::Cp
- Defined in:
- lib/chef/file_content_management/deploy/cp.rb
Overview
PURPOSE: This strategy preserves the inode, and will preserve modes + ownership even if the user running chef cannot create that ownership (but has rights to the file). It is vulnerable to crashes in the middle of writing the file which could result in corruption or zero-length files.