Fix Chef::Exceptions::ResourceNotFound with "set permissions" when no mode is specified.