File System Private download method not Writeable

Drupal version - 9.5.9
Server we are using Amazon Linux2
I have added line in setting.php $settings[‘file_private_path’] = $app_root . ‘/’ . $site_path. ‘/files/private’;
So it is giving File System error that it is not writeable or folder does not exist.
Can someone help me what exactly will be the permission and path to be set .

Hi @anisha-shaikh08 - welcome to the farmOS forum! :slight_smile:

Did you use the documentation that we provide on here? Installing farmOS | farmOS