1. Problem description
As shown in the figure, when using pycharm to manage projects in the Ubuntu Linux system, it prompts that a new .py source file cannot be created:
2. Problem solving
Determine the problem as a folder (directory) permission problem, open the upper-level directory of the project folder in the terminal, and set Reset the permissions of the entire project directory, directly chmod 777:
the problem is solved, and the source file can be created normally.