I am working trying to give user group permissions on subfolders in a Linux environment. In Linux that would be:
chown -R user:group /var/lib/temp/*
How can I acheive the same in Chef with Ruby? I have tried this:
directory '/opt/jenkins/plugins' do
owner 'jenkins'
group 'jenkins'
mode '0755'
recursive true
action :create
end
By specifying recursive it does not help.