Solve the problem that PyCharm cannot create new files under Linux

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:
insert image description here
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:
insert image description here
the problem is solved, and the source file can be created normally.

Guess you like

Origin blog.csdn.net/weixin_43031313/article/details/132098845