These all should be owned by root:root and permissions for directories should be 0755 while files should be 0644. It would be really great if the image could do it right.
Fabian, I've fixed this issue. Changes are in the https://github.com/mndar/rbf