Active Topics

 



Notices


Reply
Thread Tools
zvogt's Avatar
Posts: 118 | Thanked: 67 times | Joined on Dec 2009 @ Saint Louis, MO, USA
#21
chown'ing the files and directories under /opt/modrana worked for me as well.
 

The Following User Says Thank You to zvogt For This Useful Post:
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#22
Absolutely fantastic!!! Thank you!

Installation is a breeze, dl from 1st post, installed without a glitch! no dependence problems.
Run right out of box, no crashes.
Interface is very intuitive, if nothing else, the userface should be a model for a lot of other apps.

Thanks for the good app, early congratulation that this is going to be a hit!

bun
 
Posts: 1,994 | Thanked: 3,342 times | Joined on Jun 2010 @ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
#23
Yes, chmod for /opt/modrana is a good solution! Now it remembers the options! And it doesn't have apparent problems with logging!

I'll try to do a field test soon.

To MartinK:

get file
postinst
in debian directory
and add line like
chmod -R 0777 /opt/modrana
or something similar

It might resolve many issues.
 
Posts: 992 | Thanked: 738 times | Joined on Jun 2010 @ Low Earth Orbit
#24
Originally Posted by Wikiwide View Post
chmod -R 0777 /opt/modrana
I would rather the ownership of directories issue be fixed instead of grant full rwx to all users.
 

The Following User Says Thank You to kureyon For This Useful Post:
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#25
Good job finding the permission issues, thanks!

Originally Posted by kureyon View Post
I would rather the ownership of directories issue be fixed instead of grant full rwx to all users.
I for now added
Code:
chmod -R a+rw /opt/modrana
to the postinst script. I know this is not ideal, but I dont have a real N900 (well, yet ) so I cant just look what the default username/uid is

So, I would like to ask:
  • Whats the default username/uid ?
  • Is it always the same ?
  • Can it possibly be changed by the user ?
  • Is there some other way how to consistently set folder ownership ?
Then I can replace it by something like this:
Code:
chown -R default_user /opt/modrana
chmod -R o-rw /opt/modrana
chmod -R ug+rw /opt/modrana
I replaced the package with a new one with modified postinst, name/URL are the same.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)

Last edited by MartinK; 2010-07-25 at 09:57. Reason: fix another typo
 

The Following User Says Thank You to MartinK For This Useful Post:
Posts: 451 | Thanked: 334 times | Joined on Sep 2009
#26
Originally Posted by MartinK View Post
Whats the default username/uid ?
user:users
Is it always the same ?
Yes.
Can it possibly be changed by the user ?
No, all default N900 services and apps run as user:users

How about integrating turn-by-turn navigation, ala navit? This would beat the crap out of any commercial nav...
 

The Following User Says Thank You to 白い熊 For This Useful Post:
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#27
Originally Posted by 白い熊 View Post
user:users

Yes.

No, all default N900 services and apps run as user:users
Thanks a lot! I'll change the postinst script right away. EDIT: done, package reuploaded
Originally Posted by 白い熊 View Post
How about integrating turn-by-turn navigation, ala navit? This would beat the crap out of any commercial nav...
Well, routing results returned by Google already contain driving directions, for example:
Code:
Turn <b>left</b> at <b>London Rd/<wbr/>A40</b> <div class="">Continue to follow A40</div>

At junction <b>8</b>, exit toward <b>Thame/<wbr/>Milton Common</b>
For now, the direction messages are only signalized by yellow points when the route is drawn and their number is shown in "route info".

So, basically I just have to show these messages near corresponding trackpoints and we have a nice turn-by-turn navigation. With espeak, it should be possible to read them aloud too.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)

Last edited by MartinK; 2010-07-25 at 11:13. Reason: done
 

The Following 4 Users Say Thank You to MartinK For This Useful Post:
Posts: 451 | Thanked: 334 times | Joined on Sep 2009
#28
Originally Posted by MartinK View Post
So, basically I just have to show these messages near corresponding trackpoints and we have a nice turn-by-turn navigation. With espeak, it should be possible to read them aloud too.
Oh, wow, so that should be easy to integrate, if they're in this format, having espeak just read them out loud at approapriate points in time, and we're there...

This is great...
 
Posts: 992 | Thanked: 738 times | Joined on Jun 2010 @ Low Earth Orbit
#29
Originally Posted by MartinK View Post
[*]Is there some other way how to consistently set folder ownership ?
Ideally everything should be

- owned by root
- not writeable by any user other than root (except for config files/user generated files etc)

For modRana 0.12 (the version I've installed) the following should tighten up and set the correct permissions:

make everything owned by root
chown -R root:root /opt/modrana/

allow user to create new files in /opt/modrana/data/
chmod o+w /opt/modrana/data/

allow user to create new files in /opt/modrana/tracklogs/
chmod o+w /opt/modrana/tracklogs/

repeat the chmod for any other directories in which user needs to create files

Last edited by kureyon; 2010-07-26 at 07:55.
 
Posts: 992 | Thanked: 738 times | Joined on Jun 2010 @ Low Earth Orbit
#30
One thing that modRana desperately needs is an option to keep the screen on!
 
Reply

Tags
bada rox, martin_rocks, modrana, navigation, openstreetmap, the best, wehasgps


 
Forum Jump


All times are GMT. The time now is 20:02.