LoginSignup
0
0

More than 5 years have passed since last update.

chroot で制限したルートディレクトリ外へアクセスさせたい。

Last updated at Posted at 2018-09-07

はじめに

この前の記事の続きみたいなもの。
chroot で制限されているルートディレクトリ外へのアクセスをするにはどうするのか。

シンボリックリンク
じゃくなくて、mount コマンド。
mount コマンドに bind オプションがあるので、これを使えば可能。

mount --bind [マウント元ディレクトリ] [マウント先ディレクトリ]

多用すると chroot の意味が無くなるので使いすぎ注意。

仲間募集中

弊社ではエンジニアを募集中です。インフラからアプリ、ユーザサポートまで幅広く業務を行ってます。
https://www.nittsu-infosys.com/recruit/2019/index.html

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