Hi,
I upgraded FreeNAS to version 9.2.1.7
Enabled FTP service with chroot options enabled.
Created user test and logged in through ftp.
I can create files, download files, delete files and directories, but I can't create directories.
When I try to do it I receive:
"Command: MKD Test_dir
Response: 550 Test_dir: Operation not permitted"
In shell I can see that user is owner of his FTP folder. And I see that permissions are 777 for this folder.
Bur I still receive this error and can't create directories.
I can create directories if I logged in as user in shell or through CIFS sharing.
Only in FTP session I have this problem.
This is my proftpd config:
"
ServerName "my.domain FTP Server"
ServerType standalone
DefaultServer on
#Default Address my.domain.local
#UseIPv6 on
Port 21
User nobody
Group nogroup
Umask 000 000
SyslogFacility ftp
MultilineRFC2228 off
DisplayLogin /var/run/proftpd/proftpd.motd
DeferWelcome off
TimeoutIdle 600
TimeoutLogin 300
TimeoutNoTransfer 300
TimeoutStalled 3600
MaxInstances none
MaxClients 50
MaxLoginAttempts 1
DefaultTransferMode ascii
#AllowForeignAddress off
IdentLookups off
UseReverseDNS off
<Limit LOGIN>
AllowAll
</Limit>
<Global>
RequireValidShell off
DefaultRoot ~ !wheel
# RootLogin on
AllowOverwrite on
AllowRetrieveRestart on
AllowStoreRestart on
DeleteAbortedStores off
TimesGMT off
</Global>
<IfModule mod_ban.c>
BanEngine off
BanControlsACLs all allow group wheel
BanLog /var/log/proftpd/ban.log
BanMessage Host %a has been banned
# -m "mod_ban/rule"
# -v "concat(' BanOnEvent ',event,' ',occurrence,'/',timeinterval,' ',expire)" -n
# -b
BanTable /var/run/proftpd/ban.tab
</IfModule>
<IfModule mod_delay.c>
DelayEngine on
DelayTable "/var/run/proftpd/proftpd.delay"
</IfModule>
<IfModule mod_wrap.c>
TCPAccessFiles /etc/hosts.allow /etc/hosts.allow
TCPAccessSyslogLevels info warn
TCPServiceName ftpd
</ifModule>"
Any ideas?
I upgraded FreeNAS to version 9.2.1.7
Enabled FTP service with chroot options enabled.
Created user test and logged in through ftp.
I can create files, download files, delete files and directories, but I can't create directories.
When I try to do it I receive:
"Command: MKD Test_dir
Response: 550 Test_dir: Operation not permitted"
In shell I can see that user is owner of his FTP folder. And I see that permissions are 777 for this folder.
Bur I still receive this error and can't create directories.
I can create directories if I logged in as user in shell or through CIFS sharing.
Only in FTP session I have this problem.
This is my proftpd config:
"
ServerName "my.domain FTP Server"
ServerType standalone
DefaultServer on
#Default Address my.domain.local
#UseIPv6 on
Port 21
User nobody
Group nogroup
Umask 000 000
SyslogFacility ftp
MultilineRFC2228 off
DisplayLogin /var/run/proftpd/proftpd.motd
DeferWelcome off
TimeoutIdle 600
TimeoutLogin 300
TimeoutNoTransfer 300
TimeoutStalled 3600
MaxInstances none
MaxClients 50
MaxLoginAttempts 1
DefaultTransferMode ascii
#AllowForeignAddress off
IdentLookups off
UseReverseDNS off
<Limit LOGIN>
AllowAll
</Limit>
<Global>
RequireValidShell off
DefaultRoot ~ !wheel
# RootLogin on
AllowOverwrite on
AllowRetrieveRestart on
AllowStoreRestart on
DeleteAbortedStores off
TimesGMT off
</Global>
<IfModule mod_ban.c>
BanEngine off
BanControlsACLs all allow group wheel
BanLog /var/log/proftpd/ban.log
BanMessage Host %a has been banned
# -m "mod_ban/rule"
# -v "concat(' BanOnEvent ',event,' ',occurrence,'/',timeinterval,' ',expire)" -n
# -b
BanTable /var/run/proftpd/ban.tab
</IfModule>
<IfModule mod_delay.c>
DelayEngine on
DelayTable "/var/run/proftpd/proftpd.delay"
</IfModule>
<IfModule mod_wrap.c>
TCPAccessFiles /etc/hosts.allow /etc/hosts.allow
TCPAccessSyslogLevels info warn
TCPServiceName ftpd
</ifModule>"
Any ideas?