I've try to use mount_nullfs() inside the jail (allow_mount enabled) but got failure:
My path is not exceeded 255 characters (limit described in mount(2)):
And I am absolutely sure that this is not allow_mount problem because the shorter path I can mount:
How I can increase the limit for jail and work with the same long paths as in the original system?
Code:
jail% mount_nullfs /root/separated_environments/usr/local/www/data/zendframework/zf2/library/Zend /usr/local/www/data/site1.example.net/public_html/zendframefork/Zend
mount_nullfs: /usr/local/www/data/site1.example.net/public_html/zendframefork/Zend: File name too long
My path is not exceeded 255 characters (limit described in mount(2)):
Code:
jail% echo "root/separated_environments/usr/local/www/data/zendframework/zf2/library/Zend /usr/local/www/data/site1.example.net/public_html/zendframefork/Zend" | wc -c
147
And I am absolutely sure that this is not allow_mount problem because the shorter path I can mount:
Code:
jail% mount_nullfs /root /tmp/a
How I can increase the limit for jail and work with the same long paths as in the original system?