move methods and permissions to both directory