Novo

Forum kao aplikacija na telefonu

Dodajte forum na početni ekran i koristite ga kao aplikaciju, sa menijem na dnu ekrana.

  • 3 odgovora
  • 4.379 pregleda

Najnovija ↓

ProFtpd server problem 12.09.2005. u 23:00 · pre 257 meseci #1
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>
Re: ProFtpd server problem 13.09.2005. u 11:32 · pre 257 meseci
izmenjeno 1 put, poslednji put random 13.09.2005. u 11:33
  1. random13.09.2005. u 11:33zapis iz teksta poruke
#3
mulaz, ne mora svako da piše u taj upload folder, dosta je da to može ftp user (lokalni nalog koji se koristi za anonimni ftp, u ovom slučaju je to "ftp").
Potpis
int rand(void);

Those who do not understand Unix are condemned to reinvent it, poorly.

Upali lampicu — koristi Jabber!
Re: ProFtpd server problem 13.09.2005. u 21:31 · pre 257 meseci #4
Da li mozete malo detaljnije nije mi bas najjasnije.
Prijavite se da biste odgovorili u ovoj temi.PrijavaRegistracija

Premeštanje teme