I am not able to create files in directories other than ‘/tmp’ using a chef
I have used the following code and it fails:
template “/etc/qs/deep_thought.txt” do
variables :deep_thought => node[:deep_thought]
Running ‘mysql’ recipe (mysql cookbook from opscode site) on the client also
displays a similar error as the file ‘/etc/mysql/grants.sql’ is not created.
I even tried setting the permissions of folder ‘/etc’ to ‘777’ but it still
failed to create the file.
Please let me know what needs to be done to resolve this issue.