public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/3765] New: java.io.FileNotFoundException: /home/cagney/.frysk/logs/frysk_core_event.log.1 (Permission denied)
@ 2006-12-19 20:49 cagney at redhat dot com
  2006-12-20 15:55 ` [Bug general/3765] " mark at klomp dot org
  0 siblings, 1 reply; 2+ messages in thread
From: cagney at redhat dot com @ 2006-12-19 20:49 UTC (permalink / raw)
  To: frysk-bugzilla

[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)

-- 
           Summary: java.io.FileNotFoundException:
                    /home/cagney/.frysk/logs/frysk_core_event.log.1
                    (Permission denied)
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: cagney at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=3765

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug general/3765] java.io.FileNotFoundException: /home/cagney/.frysk/logs/frysk_core_event.log.1 (Permission denied)
  2006-12-19 20:49 [Bug general/3765] New: java.io.FileNotFoundException: /home/cagney/.frysk/logs/frysk_core_event.log.1 (Permission denied) cagney at redhat dot com
@ 2006-12-20 15:55 ` mark at klomp dot org
  0 siblings, 0 replies; 2+ messages in thread
From: mark at klomp dot org @ 2006-12-20 15:55 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From mark at klomp dot org  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.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=3765

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-12-20 15:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-19 20:49 [Bug general/3765] New: java.io.FileNotFoundException: /home/cagney/.frysk/logs/frysk_core_event.log.1 (Permission denied) cagney at redhat dot com
2006-12-20 15:55 ` [Bug general/3765] " mark at klomp dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).