> From: "http://www.juno.com/~w1few" <http://www.juno.com/~w1few> > Date: Fri, 27 Jan 2006 20:46:26 GMT > > I can FTP connect from Windows 98 to Linux in directory /ftp/pub. I can copy a > file from 98 to Linux /ftp/pub. But the Linux directory never shows ion the > Windows 98 computer and the LOG says access denied. I've set all the > permissions on the Linux computer to root wheel and rwx for both directories > and files on Linux. It was working showing the Linux directory on the Windows > 98 computer but then I got smart and moved almost all the files out of /pub to > another directory so /pub would be clean. > Its not a crisis but I sure would like to figure it out. Is the ftp server run from either /etc/inetd.conf or /etc/xinetd.conf ? If so, any permissions changes will show up immediately. If not, you may need to restart the ftp server (it may be something like /etc/init.d/ftp, in which case, you'd do something like # /etc/init.d/ftp restart ). Also, the format of a few of the entries below look wrong to me. I've marked them with >>> below. If there are problems, probably the diagnostics would show up in a log file somewhere in /var/log; if you're using inetd or xinetd, then you won't see the diagnostics until you actually try to connect. Finally, let me say that I never use ftp. I almost always use ssh and, when necessary, scp. (I use PuTTY on Windows as my ssh client. I believe it includes an scp.) The reason is that ssh and scp are more flexible. (Ssh allows me to log in and scp allows me to transfer files. Also, I can ssh over the internet and it keeps an encrypted channel so not even the NSA can know what I'm doing :-).) Just a thought. > Thanks. > D > > loginfails 2 > class local real,guest,anonymous *.domain 0.0.0.0 > class remote real,guest,anonymous * > limit local 20 Any /etc/msgs/msg.toomany > limit remote 100 SaSu|Any1800-0600 /etc/msgs/msg.toomany > limit remote 60 Any /etc/msgs/msg.toomany > readme README* login > readme README* cwd=* > message /welcome.msg login > message .message cwd=* > compress yes local remote > tar yes local remote > # allow use of private file for SITE GROUP and SITE GPASS? > private yes > # passwd-check <none|trivial|rfc822> [<enforce|warn>] > passwd-check rfc822 warn > log commands real > log transfers anonymous,real inbound,outbound > shutdown /etc/shutmsg > # all the following default to "yes" for everybody > delete yes guest,anonymous # delete permission? > overwrite yes guest,anonymous # overwrite permission? > rename yes guest,anonymous # rename permission? > chmod yes guest,anonymous # chmod permission? > umask yes guest,anonymous # umask permission? > shou yes guest,anonymous # umask permission? > # specify the upload directory information > upload /home * yes > upload /home/data /incoming yes root daemon 0600 dirs > upload /home/data /incoming yes wheel daemon 0600 dirs > upload /home/ftp /bin yes > upload /home/ftp /etc yes >>> > upload /home/ftp/pub yes wheel daemon 0600 dirs >>> > upload /home/ftp/pub yes root daemon 0600 dirs >>> > upload /home/ftp/pub yes root wheel 0600 dirs > upload /home/ftp /pub yes wheel daemon 0600 dirs >>> > upload /ftp/pub yes wheel daemon 0600 dirs >>> > upload /ftp/pub yes ftp daemon 0600 dirs >>> > upload /pub yes > download /home/ftp/pub yes root wheel 0600 dirs > # directory aliases... [note, the ":" is not required] > alias inc: /incoming > # cdpath > cdpath /incoming > cdpath /home/ftp/pub > cdpath /ftp/pub > cdpath /home/ftp > cdpath /home > # path-filter... > path-filter anonymous /etc/pathmsg ^[-A-Za-z0-9_\.]*$ ^\. ^- > path-filter guest /etc/pathmsg ^[-A-Za-z0-9_\.]*$ ^\. ^- > # specify which group of users will be treated as "guests". > # guestgroup ftponly > email http://www.Testman.tiac.net/~Testman >