Allowing all users to access files uploaded to OS X via ftp

When creating a shared FTP folder on Mac OS X, the uploaded files are only accessible by the user who uploaded them. This isn’t much help if there’s a shared ftp upload folder.

There’s fortunately an easy solution:

Create, or edit, /etc/ftpd.conf

Insert the following line into the conf file:

umask all 022

Save, and restart FTP – turn file sharing off and on again in the Sharing prefpane. Make sure share by FTP is re-enabled for the folder in question, when I tested this on two machines this arvo, both machines had unticked “Share via ftp”

Done.

This article was posted by Kai Howells. If you liked this content and have any technical work in the Melbourne area, say hello via my contact form or give me a call on 0419 361 653 - I cover most of the greater Melbourne area and my rates are competitive.

Leave a Reply

Your email address will not be published. Required fields are marked *