NLST on a nonexistent path,followed by an NLST on an existing file, causes segfault
0 answers - 1708 bytes -
magsuser2007 (AT) yahoo (DOT) com changed: What |Removed |Added CC| |magsuser2007 (AT) yahoo (DOT) com Comment #11 from magsuser2007 (AT) yahoo (DOT) com 2007-03-23 16:38 (In reply to comment #10) Created an attachment (id=2591) () [details] Attempts to address second bug Could you try this second patch, see if it addresses the second error? This patch did not solve the problem. Also I don't have any .ftpaccess file. However, I have done more testing and I think the problem is related to the automounter. Two scenarios: 1. Use automount, in this case the automounter creates /home directory and when I access my home /home/matt directory via the ftp server I get the following error message in the logs: error parsing '/home/.ftpaccess': Permission denied error parsing '/home/.ftpaccess': Permission denied error parsing '/home/.ftpaccess': Permission denied Then the server crashes. The message is a result of the automounter trying to automount '/home/.ftpaccess' 2. Stop automounter. Manually create /home, then create /home/matt, then manually mount this home from the remote machine onto /home/matt If I then access my home directory /home/matt via the ftp server I get no errors and the server does not crash. The only difference between the two cases is that the directory /home created by the automounter has different permissions than the one I create manually. automounter dr-xr-xr-x manual drwxr-xr-x Unless there are other differences (from an S point of view) that I don't know.
Re: NLST on a nonexistent path,followed by an NLST on an existing file, causes segfault