Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm having trouble with my Lion Server with FTP.

I managed activating FTP via sudo launchctl load -w /System/Library/LaunchDaemons/ftp.plist thats fine. But now I want to control which user can access which directories on the server.

I created the sharings (for AFP) and enabled the sharing point for FTP with sudo sharing -e Sites -s 110

When I now login using FTP, I can access every directory on my system. Is there any way to tell the sharing which user can access which folders?

share|improve this question

migrated from Apr 23 '12 at 20:55

This question came from our site for professional and enthusiast programmers.

I'm no expert, but when I wanted to make the default directory on localhost point to a WordPress install for running an upgrade, I edited /etc/ftpd.conf and added this line:

chroot all /Users/User/Sites/WordPressSite

The documentation for ftpd.conf can be accessed by running man ftpd.conf. It looks like you can assign users to groups ("classes"), above I'm using the "all" class, but if you set up users (see man ftpusers) you can probably set up the permissions you'd like per user.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.