Fixed Bug 287

Issue with Dir Permissions