To reproduce, create file with the following contents:
package "foo" do
version "0.0.1"
type "deb"
FileUtils.chmod( 0777, "/some/place/in/filesystem" )
file {
source "/some/place/in/filesystem"
dest "/some/place/to/put/it"
}
end
When the package is installed, "/some/place/to/put/it" will probably have permissions based on your umask instead of the explicit perms.