How do I get the path for the private filesystem?
The problem is solved.

I had a problem with the path, so the correct path is

$settings['file_private_path'] = '/Users/adriancid/private-drupal-folder';


And I give permissions to write in the folder to the webserver.