Subject: Enhancement of ftpaccess (upload directive) & correct errror report code in MKD/RMD/DEL if not permitted

From: Iouri Kharon <[email-masked]>
Date: Sat, 20 Jun 1998 05:35:58 +0400

Hi Stan!

Sorry, but my English is very poor, - see description of this patch
in patched version of ftpaccess.5 :).
This patch is very easy for 'users' ftp-site (especially with enable quota).

Patch tested with linux (slackware 3.5).

I'm correct, also, any little error,- in MKD/RMD/DEL answer code 553
 is not valid. Must be 550. (include in patch).

Best regards,
 Iouri                          mailto:[email-masked]

P.S. Small sample fragment of ftpaccess (describtion in ftpaccess.5) is:

#standart rules
upload  /Server/ftp  *          no
upload  /Server/ftp  /upload    yes  uploader  unknown  0660 nodirs

#extended rules
upload  /Server      /users/*   yes  @   @  0644 01711
upload  /Server      /users/*/* yes  @   @  0644 02757 6
upload  /Server/ftp  /users/*/* yes  @   @  0644 02757 5

In this case 'users' (guest-group based of home directorise '/Server/./xxx'
can crate 'invisible' directories for yous 'anonimous' visiters, but
this visiterrs can't delete files - only upload. Delete this files can only
it owners (user). For ISP with payment of disk space this is very easy ;-)