[ vukasin0 @ 12.09.2005. 22:00 ] @
Pozdrav svima, instalirao sam proftpd i imam manjih problema: Napravio sam dva direktorijuma upload i download.Hteo bi da se u upload moze vrsiti upis podataka(to sad nije moguce) inace kad se ulogujem na ftp server kao postojeci korisnik sve mi je dozvoljeno ali na drugoj lokaciji koju sam ja definisao u .conf fajlu. Drugi problem je kako da namestim da se podize u boot time? Ako ce biti od pomoci evo mog proftpd.conf file-a. ServerName "ProFTPD Default Installation" ServerType standalone DefaultServer on # Port 21 is the standard FTP port. Port 21 # Umask 022 is a good standard umask to prevent new dirs and files # from being group and world writable. Umask 022 MaxInstances 30 # Set the user and group under which the server will run. User root Group root # To cause every FTP user to be "jailed" (chrooted) into their home # directory, uncomment this line. DefaultRoot /windows/D/ftp ftp # Normally, we want files to be overwriteable. <Directory /srv/ftp/upload/*> AllowOverwrite on </Directory> # A basic anonymous configuration, no upload directories. If you do not # want anonymous users, simply delete this entire <Anonymous> section. <Anonymous ~ftp> User ftp Group ftp # We want clients to be able to login with "anonymous" as well as "ftp" UserAlias anonymous ftp # Limit the maximum number of anonymous logins MaxClients 10 # We want 'welcome.msg' displayed at login, and '.message' displayed # in each newly chdired directory. DisplayLogin welcome.msg DisplayFirstChdir .message # Limit WRITE everywhere in the anonymous chroot <Limit WRITE> AllowAll </Limit> <Directory /> Umask 022 AllowOverwrite off <Limit MKD STOR DELE XMKD RNRF RNTO RMD XRMD > DenyAll </Limit> </Directory> <Directory ~/srv/ftp/download/*> Umask 022 AllowOverwrite off <Limit MKD XMKD RNRF RNTO DELE RMD XRMD STOR> DenyAll </Limit> </Directory> <Directory ~/srv/ftp/upload/*> Umask 022 AllowOverwrite on <Limit MKD XMKD RNRF RNTO DELE RMD XRMD STOR WRITE> AllowAll </Limit> </Directory> </Anonymous> |