2014-05-02 13:16:42 |
Jamie Strandboge |
description |
Currently does_client_have_access() does:
else if (uri.find(std::string("opt/click.ubuntu.com/")) != std::string::npos
&& uri.find(pkgname) != std::string::npos)
{
std::cout << "Client can access content in own opt directory" << std::endl;
return true;
}
This is fine, but only takes into account /opt/click.ubuntu.com. In a default image, packages can also be installed in /usr/share/click/preinstalled/ and /custom/click. These locations are defined in /etc/click/databases. |
Currently does_client_have_access() does:
else if (uri.find(std::string("opt/click.ubuntu.com/")) != std::string::npos
&& uri.find(pkgname) != std::string::npos)
{
std::cout << "Client can access content in own opt directory" << std::endl;
return true;
}
This is fine, but only takes into account packages installed in /opt/click.ubuntu.com. In a default image, packages can also be installed in /usr/share/click/preinstalled/ and /custom/click. These locations are defined in /etc/click/databases. |
|