zadjii / nebula

The personal private cloud platform
http://starmap.io
MIT License
2 stars 1 forks source link

Deleting the directory where a mirror resides will cause it to get re-created #18

Open zadjii opened 8 years ago

zadjii commented 8 years ago

Or other badness

If the directory stops existing, then the mirror ceases to be valid, so badness

zadjii commented 6 years ago

I guess it'll probably try and delete all the files on other hosts, but it'll reject the deletion of the .nebs, so it'll regenerate that and regenerate all the paths up to the cloud root, but everything else will get purged from other clouds.

Considering that's probably not what we want, we should test this.

We need to be able to determine if the root dir is getting deleted. If it is, then we'll need to: