Code review comment for lp:~michihenning/unity-scopes-api/set-env-vars

Revision history for this message
Michi Henning (michihenning) wrote :

The latest version uses the "try-and-see-what-you-get" approach.

If the scope is unconfined, the two directories below data_dir (unconfined/<scope_id>) are created automatically (if possible). If the directory exists, an attempt is made to create a tmp file. If that succeeds, the scope is unconfined. Otherwise, the scope is confined (leaf-net).

The click installation will have to create <data_dir>/leaf-net. If the scope's profile allows the scope to create <data_dir>/leaf-net/<scope_id>, it will do so. Otherwise, the click installation will have to create that directory for the scope.

« Back to merge proposal