The problem is PHP can't chmod it if it doesn't have permission to write to it in the first place. It can be done however if the PHP script initiates an FTP connection and does it via FTP, which we'll be doing for v8.