LoginSignup
5
3

More than 3 years have passed since last update.

sftpで fatal: bad ownership or modes for chroot directory と言われた

Last updated at Posted at 2018-11-08

問題

fatal: bad ownership or modes for chroot directoryと言われた。なぜ?

解決

chrootする時に、該当フォルダ自体が(中身は関係ない)

chown root:root フォルダ
chmod 755 フォルダ

にしないといけない

ref

https://qiita.com/y_takeshita/items/ff67ff9725b07ab5f926
https://serverfault.com/questions/584986/bad-ownership-or-modes-for-chroot-directory-component

5
3
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
5
3