I just installed OMV 5.5.11-1 (Usul) and tried to configure FTP for anonymous access.
After setting up, I got the following proftpd.conf file:
Code
Include /etc/proftpd/modules.conf
UseIPv6 on
ServerName share
ServerType standalone
DeferWelcome on
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
DisplayChdir .message true
ListOptions "-l"
MaxInstances 30
DenyFilter \*.*/
User proftpd
Group nogroup
PersistentPasswd off
TimesGMT off
AllowOverwrite on
AuthOrder mod_auth_pam.c* mod_auth_unix.c
DefaultTransferMode ascii
Port 21
TransferLog NONE
IdentLookups off
UseReverseDNS off
TimeoutIdle 1200
TimeoutNoTransfer 600
TimeoutStalled 600
TransferRate STOR 100
TransferRate RETR 100
AllowRetrieveRestart on
AllowStoreRestart on
DeleteAbortedStores off
MaxConnectionsPerHost 2
DisplayLogin /srv/ftp/welcome.msg
<Directory />
HideFiles (welcome.msg)
</Directory>
<Anonymous ~ftp>
User ftp
Group nogroup
UserAlias anonymous ftp
DirFakeUser on ftp
DirFakeGroup on ftp
RequireValidShell off
<Directory *>
Umask 000 000
HideFiles (welcome.msg)
HideNoAccess on
<Limit WRITE>
DenyAll
</Limit>
</Directory>
</Anonymous>
<Directory /maket>
Umask 000 000
<Limit ALL>
AllowUser OR user
AllowGroup OR vaultadmins
DenyAll
</Limit>
<Limit READ DIRS>
AllowUser OR user
AllowGroup OR vaultadmins
DenyAll
</Limit>
</Directory>
<IfModule mod_auth.c>
DefaultRoot /srv/ftp
MaxClients 5
MaxLoginAttempts 1
RequireValidShell off
# This option is useless because this is handled via the PAM
# pam_listfile.so module, so set it to 'off' by default.
UseFtpUsers off
</IfModule>
<IfModule mod_auth_pam.c>
AuthPAM on
AuthPAMConfig proftpd
</IfModule>
<IfModule mod_ban.c>
BanEngine off
BanControlsACLs all allow user root
BanLog /var/log/proftpd/ban.log
BanMessage Host %a has been banned
BanTable /run/proftpd/ban.tab
</IfModule>
<IfModule mod_ctrls.c>
ControlsEngine on
ControlsMaxClients 2
ControlsLog /var/log/proftpd/controls.log
ControlsInterval 5
ControlsSocket /run/proftpd/proftpd.sock
</IfModule>
<IfModule mod_ctrls_admin.c>
AdminControlsEngine off
</IfModule>
<IfModule mod_delay.c>
DelayEngine on
</IfModule>
<IfModule mod_facl.c>
FACLEngine on
</IfModule>
<IfModule mod_quotatab.c>
QuotaEngine off
</IfModule>
<IfModule mod_ratio.c>
Ratios off
</IfModule>
LoadModule mod_vroot.c
<IfModule mod_vroot.c>
VRootEngine on
VRootLog /var/log/proftpd/vroot.log
VRootAlias "/srv/dev-disk-by-label-seagate/files/maket/" "maket"
</IfModule>
<IfModule mod_wrap.c>
TCPAccessFiles /etc/hosts.allow /etc/hosts.deny
TCPAccessSyslogLevels info warn
TCPServiceName ftpd
</IfModule>
Alles anzeigen
Access rights to the "maket" folder:
However, when viewing the folder "maket" is not visible.
I found that this can be fixed by replacing the line "FACLEngine on" in the configuration file with "FACLEngine off", but every time there is a change in OMV, this file is replaced and the changes are lost. How can this be avoided?
Maybe the problem is something else?