I started to create a command line sharing plugin for Harmattan, mainly for uploading images via scp.

I took this as a base:


But I didn't find good info about how to actually install it to the device. Is it enough to put the plugin to the /usr/lib/webupload/plugins directory or do I need to also add a service file for it? Should the plugin be an executable or a library?

And how to install the plugin so that the Harmattan security framework allows executing it? I debianized it and guessed some Aegis commands to the debian/rules file and even though it didn't give any errors after some trial-and-errors, I still get denied when trying to execute it.