0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

FTPでアップロードも削除もできない件を解決した

Posted at

基本環境

CentOS Linux release 7.9.2009
vsftpd: version 3.0.2

不具合

FTPクライアントでアクセスできるが、アップロードも削除もできない
表示 ◯
ダウンロード ◯
アップロード ×
削除 ×

vsftpd設定を疑う

vim /etc/vsftpd/vsftpd.conf

変化なし

ファイルパーミッションを疑う

$ ls -l /var/www/html/

example.com apache apache

FTPでは別ユーザー名でログインしていた

グループ設定を確認

$ cat /etc/group

apache:x:48:

apacheグループに自分のユーザー名を登録

$ usermod -aG apache <ユーザー名>

確認する

$ cat /etc/group

apache:x:48:<ユーザー名>

FTPテスト

アップロード ◯
削除 ◯


参考記事

https://qiita.com/orangain/items/056db6ffc16d765a8187
https://eng-entrance.com/linux-group

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?