Added correct subdir for media module
Removed permissions