Fixed permissions for FTP/Local adapters.