On Wed, 16 Apr 2014 16:17:07 +0200
<christopher.l...@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,

_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to