Opened 19 years ago

Last modified 18 years ago

#68 closed defect (fixed)

OMShell tries to write error.log to install dir for all users

Reported by: gerdin Owned by: gerdin
Priority: critical Milestone:
Component: Version:
Keywords: Cc: gerdin, Adrian Pop

Description


Change History (3)

comment:1 by gerdin, 19 years ago

When starting OMShell, it tries to write a file error.log to the installation
directory. This makes it impossible for users that do not have write access to
this directory to start OMShell.

Suggested patch which writes error.log to the current directory instead:
114c114
< sprintf(systemstr, "%s/bin/omc +d=interactiveCorba > %s/error.log 2>&1
&", omhome, omhome);
---

sprintf(systemstr, "%s/bin/omc +d=interactiveCorba > ./error.log 2>&1

&", omhome, omhome);
122c122
< Starting background server using corba
---

Starting background server without corba

124c124
< sprintf(systemstr,"%s/bin/omc +d=interactive > %s/error.log 2>&1 &",
---

sprintf(systemstr,"%s/bin/omc +d=interactive > ./error.log 2>&1 &",

comment:2 by gerdin, 19 years ago

Edit: the suggested patch is for mosh.cpp

comment:3 by Adrian Pop, 18 years ago

fixed in subversion revision 2516 by creating
the error.log file in the tmp directory.

Note: See TracTickets for help on using tickets.