Discussion Board

Page 2 of 2 FirstFirst 12
Results 16 to 30 of 30
  1. #16
    Registered User
    Join Date
    Jul 2009
    Posts
    8

    Re: Running console apps on n950: Operation not permitted

    Quote Originally Posted by kypeli View Post
    You can run shell scripts with "sh < myscript.sh" - which in its own demonstrates how un-useful the Security FW is since it cannot block random shell scripts from being executed. Just an annoyance for us, developers.
    Ah, okay. Finally this is now a solution for simple scripts. Sadly it fails because of a own binary that is called inside my script.

    Okay, now I'm able to run my *.sh and end at the exactly same problem as the poster above.

    Am I able to package my binary on the N950 directly and install it inside my *.sh if my binary is not executable?

  2. #17
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Running console apps on n950: Operation not permitted

    Quote Originally Posted by helex View Post
    Am I able to package my binary on the N950 directly and install it inside my *.sh if my binary is not executable?
    Why not to package your script and your binary into the single Debian package?

    Quote Originally Posted by svlasov View Post
    That's what I mean, I have to take care of 'rules' file
    No, you don't.

    Quote Originally Posted by svlasov View Post
    I need to modify the project to find its files after they were installed into different locations. With Security FW disabled I would just copy over the whole build to /home/user/ and execute it from there, that's how I do it on N900.
    Since Qt Creator produce package for you, copy and install it on the device over SSH why would you care?

    Quote Originally Posted by svlasov View Post
    Projects are not always Qt-based
    It makes exactly no difference.

  3. #18
    Registered User
    Join Date
    Jul 2009
    Posts
    8

    Re: Running console apps on n950: Operation not permitted

    Quote Originally Posted by divanov View Post
    Why not to package your script and your binary into the single Debian package?
    I don't want to distribute my small testing scripts and binaries. It's only for myself. I need to watch and extract data I need for my own project. It's only commandline, without icon, without UI.


    Quote Originally Posted by divanov View Post
    Since Qt Creator produce package for you, copy and install it on the device over SSH why would you care?
    I don't like the Idea to have my awful coded testing stuff placed at /usr/bin/
    Simply deleting or replacing a old bin with the new version is far faster and easier. - Lots of unneeded extra work because of the "security framework".

    I tried to install the *.deb that Qt Creator creates itself using dpkg -i test.deb but my application still won't start from commandline. Need to dig and search now why.
    EDIT: works now, bin was located in /usr/local/bin/ instead of /usr/bin/ - but I'm still not happy how to handle it

    Btw. SSH is the most time for me not possible. Have only Bluetooth with me while developing. (train)
    Last edited by helex; 2011-07-13 at 20:21.

  4. #19
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: Running console apps on n950: Operation not permitted

    A little off-topic, but related to the SSH comment:
    Can't you use SSH over USB? Instructions on how to set that up are available here
    http://library.developer.nokia.com/t...ttan_85c9.html

    Hartti

  5. #20
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Running console apps on n950: Operation not permitted

    Quote Originally Posted by helex View Post
    I don't want to distribute my small testing scripts and binaries. It's only for myself. I need to watch and extract data I need for my own project. It's only commandline, without icon, without UI.
    Then two Debian binary packages.

    Quote Originally Posted by helex View Post
    I don't like the Idea to have my awful coded testing stuff placed at /usr/bin/
    Then place it elsewhere?

  6. #21
    Registered User
    Join Date
    Nov 2007
    Location
    Finland
    Posts
    26

    Re: Running console apps on n950: Operation not permitted

    The original point of this thread is that security fw creates unnecessary complications for us developers. We know how to create Debian packages. We just don't like creating them unnecessarly (security fw does not add anything for us). If Nokia does not intend to improve on this situation, fine, just admit it and developers can make their development decisions based on that. But please don't try to help us in this demining way. Thank you.

  7. #22
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Running console apps on n950: Operation not permitted

    Quote Originally Posted by kypeli View Post
    The original point of this thread is that security fw creates unnecessary complications for us developers. We know how to create Debian packages. We just don't like creating them unnecessarly (security fw does not add anything for us). If Nokia does not intend to improve on this situation, fine, just admit it and developers can make their development decisions based on that. But please don't try to help us in this demining way. Thank you.
    Real developers don't whine on every single occasion. I cannot know what Nokia intends to do, but I bet security won't be disabled on N950 and you have to live with it.

  8. #23
    Registered User
    Join Date
    Nov 2007
    Location
    Finland
    Posts
    26

    Re: Running console apps on n950: Operation not permitted

    Quote Originally Posted by divanov View Post
    Real developers don't whine on every single occasion. I cannot know what Nokia intends to do, but I bet security won't be disabled on N950 and you have to live with it.
    It's people like you and stupid decisions like these that make "real" developer look for other platforms to develop for than Nokia.

  9. #24
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Running console apps on n950: Operation not permitted

    Quote Originally Posted by kypeli View Post
    It's people like you and stupid decisions like these that make "real" developer look for other platforms to develop for than Nokia.
    I do not affect development for any platform in any imaginable way. On the other hand, the only problem with security I'm able to see, is that Debian package creation increases build time slightly (and you need to write manifest file in some cases, but not for the most of applications).

  10. #25
    Regular Contributor
    Join Date
    Jan 2009
    Location
    North Texas, USA
    Posts
    466

    Thumbs up Re: Running console apps on n950: Operation not permitted

    I'd like to add my vote for allowing developers to disable the security framework, especially on a clearly-identified developer device. In fact it was my understanding that capability was intended for Harmattan all along. ???

    But let's also tone down the rhetoric, okay guys?

  11. #26
    Registered User
    Join Date
    Jul 2011
    Posts
    7

    Re: Running console apps on n950: Operation not permitted

    Most questions about the security model are answered in the Harmattan developer library section on security.

    That said, what's the best way to craft an aegis manifest if one is only using scratchbox for development? I have a debian package of Firefox mobile (Fennec) but it won't install until I've provided one. The source I'm using came with one but it seems inadequate for what I'm seeing in the docs. Please advise.

    -Gary

    Code:
    <aegis>
      <request>
        <credential name="TrackerReadAccess" />
        <credential name="TrackerWriteAccess" />
        <for path="/usr/lib/fennec/fennec" />
      </request>
    </aegis>

  12. #27
    Registered User
    Join Date
    Nov 2007
    Location
    Finland
    Posts
    26

    Re: Running console apps on n950: Operation not permitted

    Quote Originally Posted by gdriggs View Post
    Most questions about the security model are answered in the Harmattan developer library section on security.

    That said, what's the best way to craft an aegis manifest if one is only using scratchbox for development? I have a debian package of Firefox mobile (Fennec) but it won't install until I've provided one. The source I'm using came with one but it seems inadequate for what I'm seeing in the docs. Please advise.
    Maybe you can create some small HelloWorld application in Qt Creator, deploy that on the device and examine that Debian package's content for the aegis file? But out of curiosity; why does Fennec need Tracker access?

  13. #28
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Location
    Finland
    Posts
    327

    Re: Running console apps on n950: Operation not permitted

    There are is a number of interwoven questions here - internal requirements of the system applications themselves, accountability of used resources, difficulty of switching from a framework-less device to the end-user one, internal requirements of the system applications themselves, etc. In either case, rest assured we're working on improving the process itself, partially streamlining the process itself, partially improving documentation.

  14. #29
    Registered User
    Join Date
    Jul 2011
    Posts
    7

    Re: Running console apps on n950: Operation not permitted

    Quote Originally Posted by kypeli View Post
    Maybe you can create some small HelloWorld application in Qt Creator, deploy that on the device and examine that Debian package's content for the aegis file? But out of curiosity; why does Fennec need Tracker access?
    I don't know -- is tracker a geolocation library? I saw some mention that the IDE makes it much easier to select components that the app needs access to but I haven't looked for an explanation of what they might be. Regardless of having the manifest, it still failed to install on the N950. I think it would be pointless to disable the security features on dev devices if it's not an option on the N9.

  15. #30
    Registered User
    Join Date
    Nov 2007
    Location
    Finland
    Posts
    26

    Re: Running console apps on n950: Operation not permitted

    Quote Originally Posted by gdriggs View Post
    I don't know -- is tracker a geolocation library?
    Nup. Tracker is a RDF based storage backend with metadata. http://projects.gnome.org/tracker/. It contains information about all the content on the device (images, songs, contacts, emails, SMS...)

Similar Threads

  1. Apps not running correctly on phones from another country
    By bitset in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 2
    Last Post: 2011-04-16, 09:22
  2. Console application not running on Nokia 6210 Navigator and Nokia E61
    By rohanwaugh in forum Symbian User Interface
    Replies: 22
    Last Post: 2008-09-13, 10:31
  3. Running Console apps in S60 3rd edition
    By yuenfatt in forum Symbian
    Replies: 4
    Last Post: 2008-08-20, 12:18
  4. console application not running in S602nd FP2
    By avibatbha in forum Symbian
    Replies: 6
    Last Post: 2008-01-31, 16:22
  5. more complicated apps not running on the phone
    By jpkel in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2004-02-09, 10:19

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×