Enabling CHMOD on FTP Server!
As CHMOD seems to be disabled in the default setup, I went poking around inside the [b:4060961e66]ftpaccess[/b:4060961e66] file located in:
[b:4060961e66]
/Library/FTPServer/Configuration/
[/b:4060961e66]
Scrolling halfway down the file reveals the following:
[b:4060961e66]
chmod no anonymous
delete no anonymous
overwrite no anonymous
rename no anonymous
umask no anonymous
[/b:4060961e66]
After temporarily shutting the FTP server off, I added the following line to the beginning of the list:
[b:4060961e66]
chmod yes real
[/b:4060961e66]
Turning on the FTP server removes the newly added line from the ftpaccess file, but now chmod is enabled...
[b:4060961e66]
ftp> mkdir test
257 "//test" new directory created.
ftp> chmod 644 test
200 CHMOD command successful.
ftp> rmdir test
250 RMD command successful.
[/b:4060961e66]
Not sure if this will last through a reboot, but the setting seems sticky enough to last through multiple on/off switches of the FTP server *without* having had to recompile or reinstall anything! :D
Cheers.