mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-03 01:16:10 +00:00
The new pool dialog took /, /etc, /var/lib/dpkg or /home as a directory pool's path, or as a share's mount point, and a path inside or around another pool's. A pool on /etc offers the host's own files as volumes, which one Delete removes; a share mounted there hides them; and a file under two pools is listed, and deleted, through both. These paths are now refused: the system directories (/var only within /var/lib/libvirt, outside libvirt's own state), /home, /mnt, /media, /opt and /srv themselves (a directory in them is fine), and a path is compared once "..", doubled and trailing slashes are resolved. A symbolic link on the host is not resolved. |
||
|---|---|---|
| .. | ||
| api | ||
| migrations | ||
| templates | ||
| tests | ||
| __init__.py | ||
| forms.py | ||
| jobs.py | ||
| upload.py | ||
| views.py | ||