This is sources Bugzilla
Bugzilla Version 2.17.5
Bugzilla Bug 3765
  java.io.FileNotFoundException: /home/cagney/.frysk/logs/frysk_core_event.log.1 (Permission denied) Last modified: 2006-12-20 15:55
     Query page      Enter new bug
Bug#: 3765   Hardware:   Reporter: Andrew Cagney <cagney@redhat.com>
Host: Target: Build:
Product:     Add CC:
Component:   Version:   CC:
Status: NEW   Priority:  
Resolution:   Severity:  
Assigned To: Unassigned <frysk-bugzilla@sourceware.org>   Target Milestone:  
Summary:
Keywords:

Attachment Description Type Created Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 3765 depends on: Show dependency tree
Show dependency graph
Bug 3765 blocks: 2245

Additional Comments:


Leave as NEW 
Mark bug as waiting for feedback
Mark bug as suspended
Accept bug (change status to ASSIGNED)
Resolve bug, changing resolution to
Resolve bug, mark it as duplicate of bug #
Reassign bug to
Reassign bug to owner of selected component

View Bug Activity   |   Format For Printing


Description:   Last confirmed: 0000-00-00 00:00 Opened: 2006-12-19 20:49
[cagney@frysk32 ~]$ HOME=/tmp ftrace ls
Error upon logging: OPEN_FAILURE
java.io.FileNotFoundException: /home/cagney/.frysk/logs/frysk_core_event.log.1
(Permission denied)
   at gnu.java.nio.channels.FileChannelImpl.open(libgcj.so.7rh)
   at gnu.java.nio.channels.FileChannelImpl.<init>(libgcj.so.7rh)
   at gnu.java.nio.channels.FileChannelImpl.create(libgcj.so.7rh)
   at java.io.FileOutputStream.<init>(libgcj.so.7rh)
   at java.util.logging.FileHandler.createFileStream(libgcj.so.7rh)
   at java.util.logging.FileHandler.<init>(libgcj.so.7rh)
   at java.util.logging.FileHandler.<init>(libgcj.so.7rh)
   at frysk.EventLogger.get(ftrace)
   at frysk.event.EventLoop.<init>(ftrace)
   at frysk.proc.Manager.<clinit>(ftrace)
   at java.lang.Class.initializeClass(libgcj.so.7rh)
   at frysk.util.Ftrace.init(ftrace)
   at frysk.util.Ftrace.trace(ftrace)
   at ftrace.run(ftrace)
   at ftrace.main(ftrace)

------- Additional Comment #1 From Mark Wielaard 2006-12-20 15:55 -------
This caused because of the definition of FRYSK_DIR in Config:

    public static final String FRYSK_DIR
        = System.getProperty("user.home") + "/" + ".frysk" + "/";

"user.home" is set to getpwuid()->pw_dir (in gcj), so it doesn't take $HOME into
account. You can use System.getenv("HOME") however to get at $HOME from java.

     Query page      Enter new bug
Actions: New | Query | bug # | Reports | Requests   New Account | Log In