fixing file permission on queue dir