再帰フラグをtrueに設定して使用mkdir()する場合、作成されたすべてのディレクトリは指定されたchmodを取得しますか、それとも最後のディレクトリのみを取得しますか?例えば:
mkdir('/doesnotExist1/doesnotExist2/doesnotExist3/', 0755, true);
新しく作成されたディレクトリは、 = 0755/doesnotExist1/と/doesnotExist1/doesnotExist2/同じchmodを取得しますか?/doesnotExist1/doesnotExist2/doesnotExist3/
そうでない場合、上記の動作を強制する方法はありますか?
私はこれを自分でテストしますが、*nixボックスATMにアクセスできません。