Summary: | java.io.FileNotFoundException: /home/cagney/.frysk/logs/frysk_core_event.log.1 (Permission denied) | ||
---|---|---|---|
Product: | frysk | Reporter: | Andrew Cagney <cagney> |
Component: | general | Assignee: | Unassigned <frysk-bugzilla> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: | ||
Bug Depends on: | |||
Bug Blocks: | 2245 |
Description
Andrew Cagney
2006-12-19 20:49:45 UTC
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. |