I uploaded a file via SSH/SFTP and changed the permission via CHMOD. The permissions are the same as all of the other files in the directory, but the file is still not downloadable. Other files that I uploaded through the Wordpress Web Interface are downloadable.
Here’s what I see when I do an “ls -l” command for the non-downloadable and downloadable files:
-rw-r--r-- 1 user pg1234567 6080217 Jul 2 22:00 file_that_will_not_download.zip -rw-r--r-- 2 user pg1234567 2979115 Jul 2 22:45 file_that_will_download.zip
I’m guessing it’s because the web server user group is different from the SSH user used to upload (i.e. the number “1” vs. the number “2” between the permissions and the user name.) But I’m not sure what I’m supposed to do to change the group and/or security because I’ve already made the change via CHMOD and they match.
Any suggestions? Am I missing something simple?