Issue Details (XML | Word | Printable)

Key: RIO-191
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Dennis Reedy
Reporter: Rumko
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Rio

a writable getRioHomeDirectory()+"logs" directory is mandatory to start a cybernode, but should not be

Created: 29/Jul/09 02:42 PM   Updated: 29/Jul/09 09:22 PM
Component/s: Log
Affects Version/s: 4.0 M2, 4.0 M3
Fix Version/s: 4.0 M3

Time Tracking:
Not Specified


 Description  « Hide
In src/main/java/org/rioproject/cybernode/Environment.java inside Environment.setupDefaultEnvironment() there is an unnecessary check for write acces to rioHomeDirectory+"logs".
From what I have checked around the source, a failure to create a file inside the logDir is not a fatal error, so a writable logDir should not be mandatory either?

With this check disabled, it's easier to make a read-only export of the rio framework (which eases deployment of nodes, since you need the actual files only on the nfs server).

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Dennis Reedy added a comment - 29/Jul/09 09:22 PM
Only check for read access