[ proftpd ] config

Pagina: 1
Acties:

  • Liqued
  • Registratie: Februari 2001
  • Laatst online: 09-01 18:51
Om de een of andere reden kan ik niet in mijn upload dir schrijven ( Permission denied ). Iemand enig idee wat er fout aan mijn config is?
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
ServerName          "Flits101-115 Proftp server"
ServerType          standalone
DefaultServer           on
TransferLog     /var/log/proftpd/transfer.log
TimeoutLogin            120
TimeoutIdle         600
TimeoutStalled          3600
ScoreboardPath          /var/run/proftpd
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"
Port                21
Umask               022
MaxInstances            30
MaxLoginAttempts        3
MaxClients          20
MaxClientsPerHost       4 "Sorry, you may not connect more than 4 times."
User                nobody
Group               nogroup
DefaultRoot         /mnt/data2/share/
DisplayLogin            welcome.msg
UseReverseDNS           off
AllowOverwrite          yes
AllowStoreRestart       on
AllowForeignAddress     on
<global>
    <Directory /upload>
    <Limit ALL>
        AllowAll
    </Limit>
    </Directory>
    <Limit WRITE>
    DenyAll
    </Limit>
</global>

  • Liqued
  • Registratie: Februari 2001
  • Laatst online: 09-01 18:51
Iemand????

  • DennisBoom
  • Registratie: Mei 2000
  • Laatst online: 11-08 11:59
Moet er wel een / voor upload in <Directory /upload> ??

Geen beurs, geen tempo


  • Jelmer
  • Registratie: Maart 2000
  • Laatst online: 07:25
Vind je t gek als je de permissie van je upload dir afhaald...
code:
1
2
3
    <Limit WRITE>
    DenyAll
    </Limit>

Probeer het eens zo:
code:
1
2
3
4
5
6
7
8
9
10
<global>
    <Directory /upload>
    <Limit ALL>
        DenyAll
    </Limit>
    </Directory>
    <Limit STOR>
    AllowAll
    </Limit>
</global>

Nu kan er dus alleen geupload worden in de upload dir, maar niet gelezen!

  • Liqued
  • Registratie: Februari 2001
  • Laatst online: 09-01 18:51
code:
1
2
3
4
5
6
7
8
9
10
<global>
    <Directory /upload>
    <Limit ALL>
        DenyAll
    </Limit>
    </Directory>
    <Limit STOR>
    AllowAll
    </Limit>
</global>

zo werkt het niet. was zo ook niet goed (als het zou werken). ik wil namelijk dat in upload alles mag maar in de rest alleen "gelezen" mag worden.

ik heb het nu zo (werkt nog steeds niet) :(
code:
1
2
3
4
5
6
7
8
9
10
<global>
    <Limit WRITE>
      DenyAll
    </Limit>
    <Directory /upload>
      <Limit STOR>
        AllowAll
      </Limit>
    </Directory>
</global>

  • RvdH
  • Registratie: Juni 1999
  • Laatst online: 28-07 15:42

RvdH

Uitvinder van RickRAID

code:
1
2
3
4
5
6
7
8
9
10
<global>
    <Limit WRITE>
      DenyAll
    </Limit>
    <Directory upload>
      <Limit STOR WRITE>
        AllowAll
      </Limit>
    </Directory>
</global>

Probeer dat es..

  • Liqued
  • Registratie: Februari 2001
  • Laatst online: 09-01 18:51
Nop nog steeds niet.
(ff een vraagie tussen door. Wat is /dev/shm )

  • Liqued
  • Registratie: Februari 2001
  • Laatst online: 09-01 18:51
Iemand?

  • Liqued
  • Registratie: Februari 2001
  • Laatst online: 09-01 18:51
code:
1
2
3
4
5
H    H  EEEEE  L    PPPP
H    H  E   L   P   P
HHHHHH  EEE    L    PPPP
H    H  E   L   P
H    H  EEEEE  LLLLL  P

  • Lizard
  • Registratie: Februari 2000
  • Laatst online: 22:02
code:
1
2
3
4
5
6
7
8
9
</Directory>
  <Directory pub/incoming>
  <Limit WRITE>
    AllowAll
  </Limit>
  <Limit READ>
    DenyAll
  </Limit>
</Directory>

zo heb ik het en dit werkt bij mij...

  • Liqued
  • Registratie: Februari 2001
  • Laatst online: 09-01 18:51
GELUKT
code:
1
2
3
4
5
6
7
<global>
    <Directory /upload/>
      <Limit STOR WRITE>
        AllowAll
      </Limit>
    </Directory>
</global>

  • RemcoX
  • Registratie: Mei 2000
  • Laatst online: 14-02 20:05
Op vrijdag 26 oktober 2001 15:31 schreef Liqued het volgende:
(ff een vraagie tussen door. Wat is /dev/shm )
zie het Red Hat 7.2 topic.
Pagina: 1