I store my work in progress code in a mounted directory within a jail.
FN: /mnt/dir/dir/projects
Jail: /usr/local/www/nginx/dir/projects
Everything has been fine for a while now. Yesterday I had spent hours working on some code, and today, I had used the shutdown from FN web interface because I knew power was going to be out for a bit.
When I started it back up, all the files and folders from the project are no longer in the jails path. I freaked...
I browsed the FN folders and the files are there. Thank god.
So 2 questions...
1) Why did this happen?
2) When I copied everything over from FN->Jail so that I could resume working on my code, permissions are all 700 on files.
If anyone can shed some light on this I'd appreciate it. I don't want to lose confidence in storing my code projects like I have been. It's convenient the way I have it.
FN: /mnt/dir/dir/projects
Jail: /usr/local/www/nginx/dir/projects
Everything has been fine for a while now. Yesterday I had spent hours working on some code, and today, I had used the shutdown from FN web interface because I knew power was going to be out for a bit.
When I started it back up, all the files and folders from the project are no longer in the jails path. I freaked...
I browsed the FN folders and the files are there. Thank god.
So 2 questions...
1) Why did this happen?
2) When I copied everything over from FN->Jail so that I could resume working on my code, permissions are all 700 on files.
If anyone can shed some light on this I'd appreciate it. I don't want to lose confidence in storing my code projects like I have been. It's convenient the way I have it.