Incorrect formulation of the question.
In short — no way.
If more detail:
1. the whole operation of any user program with file system through API functions of the operating system.
2. programming language (any) in this case, the only means of access to the data API funteam
3. file access is controlled by the operating system to the level of calling the API functions access the file.
4. so — no matter what language You are writing, if access is denied, then you won't get it.
The solutions to the problem:
and. to change access rights to the file
b. to start the process with sufficient rights to access the file
nicole.Parker answered on October 14th 19 at 11:05
To run the program under the correct user
Or give file privileges for the current user.