[SailfishDevel] After April SDK Update Existing App fails on RPM deploy to Jolla Device: Possible rights problem
Juha Kallioinen
juha.kallioinen at jolla.com
Wed Apr 16 13:07:19 UTC 2014
On 16.04.2014 15:39, christopher.lamb at thurweb.ch wrote:
> Hi All
>
...
> I also get the white screen when trying to open the app.
>
> Via SSH on the jolla device I can find the file is present:
> [nemo at Jolla javascript]$ pwd
> /usr/share/landed26_QT5/qml/javascript
> [nemo at Jolla javascript]$ ls -ahl
> total 48K
> drwxr-xr-x 1 root root 152 2014-04-16 14:31 .
> drwxr-xr-x 1 root root 110 2014-04-16 14:31 ..
> -rw-r--r-- 1 root root 4.2K 2014-04-16 14:31 jsonpath.js
> -rw------- 1 root root 349 2014-04-16 14:31 landed.js
> -rw------- 1 root root 1.2K 2014-04-16 14:31 message.js
> -rwxr-xr-x 1 root root 9.4K 2014-04-16 14:31 readDataModel.js
> -rwxr-xr-x 1 root root 8.8K 2014-02-03 08:32 settingsDB.js
> -rw-r--r-- 1 root root 5.2K 2014-04-16 14:31 writeDataModel.js
>
> However the access permissions look very strange. I suspect that all
> the js files should have rights like -rwxr-xr-x
Hi Chris,
I've changed the way the shared directories are mounted to the virtual
machine. This might be caused by that. Previously the shared folders
were mounted with 777 rights and all files were shown as read/write/exec
for all inside the virtual machine. I've changed it so that the rights
are as they are on your host filesystem.
But there's really no reason for those two files to have only root
access and the others have more access unless there's some root cause
with your source files.
There's no code anywhere in the SDK that checks if a file is named
'landed.js' and modifies its access rights :-)
What are the source files' permissions in your Mac's filesystem when you
list them?
Best regards,
Juha
More information about the Devel
mailing list