Re: [SailfishDevel] SailfishOS SDK install to /opt

2014-07-14 Thread Juha Kallioinen

On 12.07.2014 11:02, Marcin M. wrote:
Why do the mersdk/MerSDK and emulator/SailfishOS Emulator directories 
have 700 permissions? It makes the VMs unaccesible.


Those folder rights are correct. 700 means that the user has full 
read-write-exec rights to the directories. The SDK works only for a 
single user because of how the virtual machines get set up so you cannot 
have two or more users on the same machine using it. It also means that 
the user who installs it, needs to be the user that uses it.


It's hard to guess what might be the problem and if possible, I suggest 
a reinstall.


First uninstall the SDK and after that open up the VirtualBox manager UI 
and check that the MerSDK and SailfishOS Emulator virtual machines have 
really been removed. If they are still there, manually remove them. 
Furthermore before reinstalling, remove the configuration folder with: 
rm -rf ~/.config/SailfishAlpha4


Best regards,
 Juha

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SailfishOS SDK install to /opt

2014-07-14 Thread Juha Kallioinen

On 14.07.2014 11:13, Marcin M. wrote:
Forgot to tell: the user owning it is root (who owns the whole 
/opt/SailfishOS)...


If installed to /home, works correctly.



Ok that was the problem. You can still install it under /opt as long as 
you first create the install dir manually and then set the access rights 
correctly for your user.


For example like this:

$ sudo mkdir -p /opt/SailfishOS
$ sudo chown -R $USER /opt/SailfishOS

And then install the SDK under /opt/SailfishOS

Best regards,
 Juha
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] SailfishOS SDK install to /opt

2014-07-12 Thread Marcin M.
Why do the mersdk/MerSDK and emulator/SailfishOS Emulator directories have
700 permissions? It makes the VMs unaccesible.
--
Marcin
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SailfishOS SDK install to /opt

2014-07-12 Thread Marcin M.
And btw. even after fixing the permissions, VirtualBox comes with the
following error:

Failed to open a session for the virtual machine SailfishOS Emulator.

The VM session was closed before any attempt to power it on.

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: SessionMachine
Interface: ISession {12f4dcdb-12b2-4ec1-b7cd-ddd9f6c5bf4d}

--
Marcin


2014-07-12 10:02 GMT+02:00 Marcin M. marmistrz...@gmail.com:

 Why do the mersdk/MerSDK and emulator/SailfishOS Emulator directories have
 700 permissions? It makes the VMs unaccesible.
 --
 Marcin

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org