==================================================================
  Please DO NOT REPLY to this mail or send email to the developers
  about this bug. Please follow-up to Bugzilla using this link:
    http://bugs.contribs.org/show_bug.cgi?id=7179

  Have you checked the Frequently Asked Questions (FAQ)?
    http://wiki.contribs.org/SME_Server:Documentation:FAQ

  Please also take the time to read the following useful guide:
    http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================

--- Comment #3 from Michael McCarn <[email protected]> ---
(In reply to Jáder Marasca from comment #2)
> OPTION B:
> > - change your chroot back to /opt/tomcat/webapps, or hard-link
> > /opt/tomcat/webapps into the user's home folder.
> I choose chroot back to webapps dir:
> 
> > - try again
> it fail with:
> ftp> put /etc/resolv.conf etc-resolv-do-macmini
> local: /etc/resolv.conf remote: etc-resolv-do-macmini
> 227 Entering Passive Mode (201,47,255,142,139,211)
> 550 etc-resolv-do-macmini: Operation not permitted

What are the file permissions on /opt/tomcat/webapps?  Since we've only added
'bob' to the GROUP tomcat, the files and folders will need to be group-writable
for ftp to succeed.

Also, from http://proftpd.open-source-solution.org/docs/howto/Chroot.html:
> Note that the execute bit (--x) must be on in order to chroot() a user 
> into that directory. This bit is also needed for a user to be able to 
> chdir into that directory.

The same page has a discussion of why symlinks won't/can't work in your case
(since the user is "chROOTed", a symlink to /opt/tomcat/webapps FOR THE FTP
USER would refer to <FTP_ROOT>/opt/tomcat/webapps in the file system).

Can you simply give 'bob' the username and password for 'tomcat'?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at http://lists.contribs.org/mailman/public/contribteam/

Reply via email to