Hi,
I want to set FTP server on AIX to read only mode. I found out manual page for /etc/ftpaccess.ctl (manual page ).
I tried put
readonly: ALL
or
readonly: ALL
writeonly: NONE
and nothing happened (of course, I restart FTP server by stopsrc -t ftp; startsrc -t ftp)
With "readonly: ALL" in the ftpaccess.ctl file, can users still upload files with "put" even if they have write access to the directory? They should not be able to.
Thanks for reply.
I tried it and I get error (great!):
ftp> put core
200 EPRT command successful.
550 Write access denied
but when I try to make directory, it's OK and directory is created..
ftp> mkdir testfolder
257 MKD command successful.
ftp> ls -la
200 EPRT command successful.
150 Opening data connection for /bin/ls.
total 0
drwxr-x--- 3 xxx xxx 256 Apr 17 17:23 .
drwxr-x--- 7 xxx xxx 256 Apr 17 17:18 ..
drwxr-x--- 2 xxx xxx 256 Apr 17 17:23 testfolder