I agree to your comment - makes absolute sense - funny thing the current implementation is working as well.
The reason is that the $path is stored within files - no clue why - but the permissions match and it's working.

LOL