ERROR: must be superuser or a member of the pg_read_server_files role to COPY from a file without SUPERUSER privileges

When executing the postgres copy command in a terminal, postgres shows the following error:

Solution, without needing to assign the role of SUPERSUSER to the user:

1. Connect to a psql session with the command.

2. Execute the command \COPY as follow: