Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/283.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python webkit_服务器文件夹的权限被拒绝,即使对rwx具有所有权限_Python_Python 3.x_File Permissions_Ubuntu 18.04_Dryscrape - Fatal编程技术网

Python webkit_服务器文件夹的权限被拒绝,即使对rwx具有所有权限

Python webkit_服务器文件夹的权限被拒绝,即使对rwx具有所有权限,python,python-3.x,file-permissions,ubuntu-18.04,dryscrape,Python,Python 3.x,File Permissions,Ubuntu 18.04,Dryscrape,这是我在执行python脚本时经常遇到的错误: **[Errno 13] Permission denied: '/mnt/e/projects/python/phising/main/phising/lib/python3.6/site-packages/webkit_server'** 这些是webkit_服务器内文件和文件夹的权限 -rwxrwxrwx 1 username1 username1 1086 Feb 25 21:11 LICENSE -rwxrwxrwx 1 userna

这是我在执行python脚本时经常遇到的错误:

**[Errno 13] Permission denied: '/mnt/e/projects/python/phising/main/phising/lib/python3.6/site-packages/webkit_server'**
这些是webkit_服务器内文件和文件夹的权限

-rwxrwxrwx 1 username1 username1  1086 Feb 25 21:11 LICENSE
-rwxrwxrwx 1 username1 username1   136 Feb 25 21:11 MANIFEST.in
-rwxrwxrwx 1 username1 username1  2102 Feb 25 21:11 README.md
drwxrwxrwx 1 username1 username1  4096 Feb 25 21:11 build
-rwxrwxrwx 1 username1 username1   253 Feb 25 21:11 build.sh
drwxrwxrwx 1 username1 username1  4096 Feb 25 21:11 debian
-rwxrwxrwx 1 username1 username1  1721 Feb 25 21:11 setup.py
drwxrwxrwx 1 username1 username1  4096 Feb 25 21:11 src
-rwxrwxrwx 1 username1 username1    75 Feb 25 21:11 webkit_server.pro
-rwxrwxrwx 1 username1 username1 18087 Feb 25 21:11 webkit_server.py

代码试图执行什么操作?i、 e.尝试创建该目录将失败,因为它已经存在;尝试删除它将失败,因为它包含文件等。请向我们显示导致错误的代码行。@JohnGordon它只是尝试执行其中的文件。这个目录实际上是我的代码使用的python库,它看起来是在试图执行目录本身,而不是目录中的文件。