Comment 3 for bug 1064110

Revision history for this message
Raúl Soriano (gatoloko) wrote :

Ok, I've found what's the problem here.

Looking at the code and comparing ubuntu-cli with ubuntu-application templates, there is no place where the file permissions are changed, but the difference is that, while ubuntu-application template contains an executable file, the ubuntu-cli template contains a non executable file.

So I've made the file inside the ubuntu-cli template executable, tried quickly again and it worked fine.

Then I've grabbed a copy of the source and the same executable/non executable difference is there. Trying to use it from the source I get the same error too. Made the file executable on the sources, tried it and worked. Then tried a "bzr diff" and this is all that needs to be changed:

$ bzr diff
=== modified file 'data/templates/ubuntu-cli/project_root/bin/project_name' (properties changed: -x to +x)
$