add a ftp user with read and write permissions on a directory

hi all

how I can create an ftp user in solaris 10 and have read and write permission on a directory.

Thanks.

  • create the user (useradd)
  • create the directory (where read and write should be possible)
  • set ownership to the directory (user or group; chown)
  • give the rights to the dir (chmod)
  • give the user ftp rights (/etc/ftpusers)