D
Deleted member 67862
Guest
Hello,
I have a jail set up to test my nginx web server on my local machine and make changes to it before I push. However, I wanted to use a GUI editor from outside the jail to edit the HTML/CSS (which is the main reason I wanted to use a jail). I made perhaps a horrible mistake by recursively changing ownership of the jail (
I probably should have only changed permissions for /usr/local/www instead of the entire jail but I wasn't thinking.. Is there any way to undo/fix this? I spent a lot of time building the jail from source since bsdinstall was giving an "Invalid URL scheme" error so I would prefer to fix it than have to start over from scratch.
I have a jail set up to test my nginx web server on my local machine and make changes to it before I push. However, I wanted to use a GUI editor from outside the jail to edit the HTML/CSS (which is the main reason I wanted to use a jail). I made perhaps a horrible mistake by recursively changing ownership of the jail (
# chown -R hunter:wheel [jailname]
) and then recursively changing read/write permissions for all files to allow wheel and root read/write permissions. Now when I run the jail, nginx no longer works because of the following: ld-elf.so.1: Shared object "libpcre.so.1" not found, required by "nginx"
Starting nginx.
login class 'daemon' non-existent, using default
ld-elf.so.1: Shared object "libpcre.so.1" not found, required by "nginx"
/usr/local/etc/rc.d/nginx: WARNING: failed to start nginx
I probably should have only changed permissions for /usr/local/www instead of the entire jail but I wasn't thinking.. Is there any way to undo/fix this? I spent a lot of time building the jail from source since bsdinstall was giving an "Invalid URL scheme" error so I would prefer to fix it than have to start over from scratch.