运行Kernel时出现以下报错:
1 2 | raise PermissionError(f'Path {path} cannot have write permission of group.') PermissionError: Path /any_path/_gen_module.so cannot have write permission of group. |
当前用户创建的文件的默认权限过大(具有group写权限)。
1 2 3 | $ umask -S $ umask 0022 u=rwx,g=rx,o=rx |