OpenPandora Main OS

Quick Actions
Notice: Undefined index: tasklist_type in /srv/www/vhosts/openpandora.org/domains/bugs.openpandora.org/httpdocs/includes/class.tpl.php(136) : eval()'d code on line 228 Notice: Undefined index: tasklist_type in /srv/www/vhosts/openpandora.org/domains/bugs.openpandora.org/httpdocs/includes/class.tpl.php(136) : eval()'d code on line 233
  • Status Assigned
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Core
  • Operating System Release 1 (Zaxxon)
  • Severity Medium
  • Reported Version SuperZaxxon Beta 3
Attached to Project: OpenPandora Main OS
Opened by Daniel Hertrich (hermocom) - 2012-07-06

FS#291 - root-owned pndrun_...out file makes PND refuse starting

Tags:

If a PND has been run as root before (using pnd_run.sh from a root shell) and afterwards it is invoked the normal way, the PND doesn't start, because the .out file cannt be overwritten: /usr/pandora/scripts/pnd_run.sh: line 26: /tmp/pndrun_firefox.out: Permission denied Desired solution: .out file is silently overwitten. Maybe, if that's not possible, create another .out file with a different name (added counter, for example). Seen in SuperZaxxon relese 1.5, not in Beta3 as this task is flagged, but there is no choice besides Beta3.
S├ębastien Huss

Friday, 06 July 2012, 12:05 GMT
The outfile cannot be silently overwritten without doing very nasty tricks. When the file already exist and is not writable then it should probably append the UID to the filename. sound highly doable to me
T4b

Friday, 06 July 2012, 12:09 GMT
Or just make the outfile 777? Then it shouldn't matter whether it belongs to root.
S├ębastien Huss

Friday, 06 July 2012, 12:16 GMT
Silly me ;) thanks T4b
Daniel Hertrich (hermocom)

Friday, 06 July 2012, 13:00 GMT
Is there any concept for protected PNDs (only for root access)? Then 777-ing the outfile could be a security hole, by it revealing root's secrets to standard users... just a thought. If there isn't such a concept, then 777-ing might be the best solution.

Loading...


Notice: Undefined variable: effort in /srv/www/vhosts/openpandora.org/domains/bugs.openpandora.org/httpdocs/includes/class.tpl.php(136) : eval()'d code on line 18 Notice: Trying to get property of non-object in /srv/www/vhosts/openpandora.org/domains/bugs.openpandora.org/httpdocs/includes/class.tpl.php(136) : eval()'d code on line 18 Warning: Invalid argument supplied for foreach() in /srv/www/vhosts/openpandora.org/domains/bugs.openpandora.org/httpdocs/includes/class.tpl.php(136) : eval()'d code on line 18
Date User Effort (H:M)