LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   proftpd not listing files and folders (http://www.linuxquestions.org/questions/linux-software-2/proftpd-not-listing-files-and-folders-270972/)

Robin01 12-27-2004 10:10 PM

proftpd not listing files and folders
 
hello everybody,

i'm running mandrake 10 and running the default ftp server proftpd.

I was able to configure and startup the ftp server without any problems.
I'm also able to log into the server without any problems using cuteftp client.

problem area:
- neither the files or the folders are appearing or visible.
- tested, creating a folder. test successfull it created a folder under the user homedir.
- tested, changed permis(774) on user and group and still no chagne, still cannt see either the files or folders
- also tested, copied files and it copied successfully.

problem, not able to see either the files or the folders under the home dir. Confirmed that its is pointing to the users root folder /home/username

tested through IE and the files and folders are visible.


any help u can give me would be greatly appreciated

reynacho_au 12-28-2004 03:18 AM

post your /etc/proftpd.conf file please.

Robin01 12-29-2004 10:55 AM

hello,

here's my configuration. i replace servername and group name for security reasons.
to add to this problem.
when i tried loggin internally from home using IE(i have 2 machines(win2k) @ home) it works but when i do the same thing from work its keeps telling me that the password is invalid.
it finds the ftpsite, it even excepts the user name but its not accetpting the pwd.


ServerName "www.example.ca"
ServerType Standalone
DeferWelcome off

ShowSymlinks on
MultilineRFC2228 on
DefaultServer on
AllowOverwrite on

TimeoutNoTransfer 600
#The amount of time that connection will be left open if it has stopped or jammed
TimeoutStalled 600
#Timeout when the connection is idle or not being used.
TimeoutIdle 600

DisplayLogin welcome.msg
DisplayFirstChdir .message
#LsDefaultOptions "-1"
ListOptions "-1"

DenyFilter \*.*/

#Allows users to login who don't have a vaild shell, this is usefull
#if you wish to allow people access to your ftp server, but not ssh.
RequireValidShell off

# Port 21 is the standard FTP port.
Port 21

# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
MaxInstances 30

#Set the user and group under which the server will run
User nobody
Group nogroup

#Normally, we want files to be overwriteable.
<Directory /*>
#Umask 022 is a good standard umask to prevent new files and dirs
#(second parm) from being group and world writable.
Umask 022 022

AllowOverwrite on
</Directory>

# Allow FTP resuming.
# Remember to set to off if you have an incoming ftp for upload.
AllowStoreRestart on

#chroot for all users of the group ftp
DefaultRoot ~ ftpgroup
#grant login only for members of the group
<Limit LOGIN>
DenyGroup !ftpgroup
</Limit>

#Global options
<Global>
RootLogin off
RequireValidShell on
</Global>

#increase
UseReverseDNS off
IdentLookups off

#login formats
LogFormat default "%h %l %u %t \"%r\" %s %b"
LogFormat auth "%v [%p] %h %t \"r\" %s"
LogFormat write "%h %l %u %t \"%r\" %s %b"

#activat loggin

#every login
ExtendedLog /var/log/ftp_auth.log AUTH auth

# file/dir access
ExtendedLog /var/log/ftp_access.log WRITE, READ write

#forr paranoid (big logfiles!)
#Extendedlog /var/log/ftp_paranoid.log ALL default

#this allows 3 login attempts, if these are not successsfull access is denied
MaxloginAttempts 3


All times are GMT -5. The time now is 03:59 PM.