[SailfishDevel] After April SDK Update Existing App fails on RPM deploy to Jolla Device: Possible rights problem
Mohammed Hassan
mohammed.hassan at jolla.com
Wed Apr 16 15:37:10 UTC 2014
On Wed, 16 Apr 2014 16:17:07 +0200
<christopher.lamb at thurweb.ch> wrote:
> Hi Mohammed
>
> thanks
>
> The varied permission on the qml / js files on my host probably
> reflect that the project originated in pre-sailfish days, and thus
> the files have come from various sources / versions of Qt Creator /
> edited with different text editors etc. since then.
>
> I have now set all qml and js files in the project on my development
> host to chmod 644
> e.g
> -rw-r--r-- 1 christopherlamb staff 7,7K 24 Feb 17:20
> InitialCharacterPicker.qml
>
> Are these the correct permissions? It is how a new demo project sets
> the permissions.
I guess for RPM generation it'd be better to use %attr and %defattr as
Juha pointed out.
In general I use %defattr(-,root,root-) and that works fine for me.
What you need is +r set for everybody and +rx set on the directories.
Cheers,
More information about the Devel
mailing list