filezilla - FTP suddenly stopped listing files in a particular directory

27
2013-11
  • Fibericon

    I have a server on an inmotion hosting account that is suddenly acting strangely for FTP, but only in a particular directory. It is simply refusing to list the files. I've tried with two clients - FileZilla (which was working up until yesterday), and WinSCP. I checked the firewall rules to ensure that passive FTP was enabled, but they were. I then logged into cPanel to check that the files were still there, and they were. The support agent I talked to was able to list the files in his FileZilla client, so the problem must be on my side. What direction do I start looking for answers at this point?

    EDIT: I tested this on another computer on my network that had never had FileZilla installed before, and it produced the same problem.

    EDIT: The directory in question appears to have inexplicably changed to the "nobody" group. The owner is still correct (the same user I'm using to FTP in is the owner), but the group is now different. I have shell access, and attempted to change the group. Even though in the shell it shows that the directory's group has been changed, that change does not seem to propagate to FTP.

  • Answers
    Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

    Related Question

    permissions - FTP from windows to linux using filezilla causes doubling of file sizes?
  • Questioner

    Running filezilla 3.3.0.1 (and slightly older versions exhibit this behavior as well) to Red Hat Enterprise 5x with filezilla server, we are getting doubling of text files on overwrite. It seems to affect php, js, html files but maybe not binary files although that's not thoroughly tested. We've looked at the settings on the client and found one we thought was the problem which was 'allow resume of ascii files' which states in the client that if ticked can cause problems with line endings differing from platforms, but we've unticked this option.

    so here's what happens:

    We open the client, connect to ftp server. Upload a local file and choose 'overwrite' of remote copy. Filesize should change slightly (should slightly increase, ex: 117kB -> 118kB), instead it does not refresh the filesize. You hit the manual refresh button and suddenly the remote copy's filesize is reported to be doubled or more (ex: 275kB). What the heck is going on??

    When we redownloaded some of these files it was as if a concatenation was happening (appending random extra contents). Obviously this will not fly to micromanage files- our whole system could be screwed up completely by this. Please help!! Is this a permissions/ownership issue or something really weird happening with either the filezilla client or server?


  • Related Answers
  • Jeremy Morgan

    After talking to rackspace, it turns out it is related to a sticky bit and setguid issue they had set for us on the webroot folder that was allowing us to write to the file but not destroy it first so the net result was a concatenation/append of new contents to the end of old contents. We were trying to have the web server user be the owner and the web server group be the same group as the ftp-ers group so that there was an ownership and full access for apache and yet read-write permission for ftp users and read-only perms for world-readable documents to be served as outlined here: http://www.washington.edu/itconnect/web/publishing/permissions.html

  • Steve

    Do you have access to the Red Hat server? If so, what does the filesize show on that machine? If I had to guess it is probably a Filezilla bug, as a quick search turned up a bug report similar to what you experiencing here: http://trac.filezilla-project.org/ticket/4788.