A website (on a shared host) would seem to have been hacked as it looks like directory/file perms have been changed across the site.
The FTP user is now unable to even see the parent files and directories.
The website is stored in a subdirectory off the document root (internal rewrite to this subdirectory). The website is still viewable over HTTP and functions OK, except that HTTP file uploads fail, which I expect is due to incorrect permissions.
The host has confirmed that this subdirectory has perms 0755, yet it is still not even visible to the FTP user.
The site is a PHP powered site that runs as the www-data user. The FTP account is another user.
What else can cause this subdirectory to be hidden from the FTP user?
www-data
for HTTP (a PHP powered site) and another FTP user.