Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/unix/3.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
Php UNIX FTP可以创建和删除文件,但可以';不要覆盖文件_Php_Unix_Nginx_Ftp - Fatal编程技术网

Php UNIX FTP可以创建和删除文件,但可以';不要覆盖文件

Php UNIX FTP可以创建和删除文件,但可以';不要覆盖文件,php,unix,nginx,ftp,Php,Unix,Nginx,Ftp,我正在运行ubuntu/webmin/nginx服务器 由于某些原因,我可以创建和删除文件,但我不能通过FTP覆盖现有文件 文件夹的访问权限为755。 文件的访问权限为644 我得到一个类似这样的错误: Command: TYPE A Response: 200 Type set to A Command: PORT 192,168,0,16,246,179 Response: 200 PORT command successful Command: STOR box.

我正在运行ubuntu/webmin/nginx服务器

由于某些原因,我可以创建和删除文件,但我不能通过FTP覆盖现有文件

文件夹的访问权限为755。 文件的访问权限为644

我得到一个类似这样的错误:

Command:    TYPE A
Response:   200 Type set to A
Command:    PORT 192,168,0,16,246,179
Response:   200 PORT command successful
Command:    STOR box.php
Response:   550 box.php: Overwrite permission denied
我正在使用FileZilla。直到几天前我最后一次检查时,一切都很顺利。突然,它不再工作了

我有几个网站在同一台服务器上,所有网站都有相同的问题

所有包裹都是最新的。
你知道为什么我不能覆盖文件吗?你是使用匿名FTP还是以真实用户身份访问?如果你使用的是
proftpd
,请参阅我使用带有凭据用户名/pwd的FTP(仅普通FTP)