No, it's not a permission problem. It seems to happen when I include the view/layout.html file in the w2p file by issuing the tar command manually as described by Massimo. Here is the command I use :
tar zcvf ../web2py.plugins.name_layout.w2p views/layout.html views/plugin_layout_name/* static/plugin_layout_name/* Regards, --

