Sziasztok!
Azt szeretnem elerni, hogy mikor felhasznalok feltoltenek hozzam egy filet, akkor annak a jogai automatikusan 644 legyen a /home -on bellul az osszes konyvtarra, kiveve a /home/en -ben ahol 664.
Az alabbi proftpd.conf -ban szerepel is ket Umask bejegyzes, ami reszben hatasos is, mert konyvtaraknal jol mukodik. Filoknal viszont mintha nem is lenne….
Irjatok legyszives, hogy mit csinalhatok rosszul.. barmilyen otletnek orulnek!
# /etc/proftpd.conf — This is a basic ProFTPD configuration file.
# To really apply changes reload proftpd after modifications.
#
ServerName „ime”
ServerType standalone
DeferWelcome off
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
UseFtpUsers off
PersistentPasswd on
AuthOrder mod_auth_file.c
AuthGroupFile „/etc/proftpd_group”
AuthUserFile „/etc/proftpd_passwd”
DisplayLogin welcome.msg
DisplayFirstChdir .message
ListOptions „-l”
DenyFilter *.*/
SystemLog /var/log/proftpd.log
TransferLog /var/log/proftpd.transfer.log
# Port 21 is the standard FTP port.
Port 21
MaxInstances 30
# Set the user and group that the server normally runs at.
User nobody
Group nogroup
MaxClients 5
# Normally, we want files to be overwriteable.
AllowOverwrite on
DefaultRoot /home
PassivePorts 61300 61400
# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask 002 002
Umask 022 022
legutóbbi hsz