[英]Google Cloud connecting first time through ftp but in few seconds reverting to permission denied on write (the file is going blank on this case)
I am connecting to my project files through FileZilla (hosted in Google Cloud).我正在通过 FileZilla(托管在 Google Cloud 中)连接到我的项目文件。 It was working fine until yesterday.
直到昨天它工作正常。 Starting yesterday I am getting issues:
从昨天开始,我遇到了问题:
var/www/html
var/www/html
里面Status: Connected to {cloud_ip_here}
Status: Starting download of /var/www/html/{app_name}/api/application/controllers/Test.php
Status: File transfer successful, transferred 1,920 bytes in 1 second
Status: Starting upload of C:\Users\{my_pc_name}\AppData\Local\Temp\fz3temp-2\Test.php
Command: put "C:\Users\{my_pc_name}\AppData\Local\Temp\fz3temp-2\Test.php" "Test.php"
Error: /var/www/html/{app_name}/api/application/controllers/Test.php: open for write: permission denied
Error: File transfer failed
Permission denied errors occur when you don't have the required permissions to make changes to a file that you're trying to edit over FTP.当您没有所需的权限来更改您尝试通过 FTP 编辑的文件时,会出现权限被拒绝错误。 You can follow the steps in link given below in order to rectify the issue,
您可以按照下面给出的链接中的步骤来纠正问题,
Weirdly, the issue was server ran out of space and that's the reason it was showing permission denied.奇怪的是,问题是服务器空间不足,这就是它显示权限被拒绝的原因。 It has nothing to do with permissions.
它与权限无关。 To check space in ssh of Compute Engine instance go for "df" command.
检查 Compute Engine 实例 go 的 ssh 中“df”命令的空间。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.