When running cookbook through root, it runs the chef-client but not as oracle


when running cookbook through root it runs the cookbook but when running through oracle , it does nothing and gives this error:


Running handlers:
Running handlers complete
Chef Client failed. 0 resources updated in 00 seconds


There isn’t a ton of information provided here but I expect that this oracle user lacks necessary permissions to do anything useful.