問題
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