Can't Upload to WP Subdirectory w/ SFTP

0

I'm trying to use Cyberduck and BBEdit on Mac OS to download a .css file, edit it, and upload the changes. The error message reads, "Upload style.css failed. Permission denied. Please contact your web hosting service provider for assistance."

I've tried the steps from https://docs.bitnami.com/aws/how-to/troubleshoot-permission-issues/#you-can-t-upload-a-file-via-sftp to no avail: my SFTP username is bitnami, but even if bitnami owns the directory and has 0775 permissions, I can't upload. The issue isn't preventing me from logging in with the SSH key pair; I can navigate and download just fine.

Please let me know if you have any ideas or would need more details. I'm pretty clueless. Thanks for your help!

質問済み 5年前359ビュー
2回答
0

Hello @feisthammel,

Thanks for using Lightsail!

What is the directory you are attempting to upload the CSS file? Depending on the instance type you are working with, some directories need root permissions. On a Wordpress instance for example, I was not able to upload a file to "/home/bitnami/apps" directory and received the exact same error as you reported. Uploading directly to the "/home/bitnami/apps/wordpress/htdocs" directory however works as expected.

Hope this help you! Let us know.
-Jonathan

AWS
回答済み 5年前
0

After some noodling around I found I could indeed upload elsewhere and isolated the problem to BBEdit and/or Cyberduck. To my great shame--and also relief--I updated BBEdit and it's working like a charm.

Thanks for taking the time. Sorry for raising such a trivial alarm!

回答済み 5年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ