Just found an awesome guide from Mattias Kretschmann on how to create a perfect AFP file server for Mac clients that supports Time Machine backups over the network out of the box. It worked for me with a Mac OS X 10.6.3 client and an Ubuntu 10.04 server, with just one small change to the
/etc/netatalk/afpd.conf file. The final line simply needed to read:
- -transall -advertise_ssh
Beautiful, thanks Mattias. :)
4 thoughts on “Make a perfect Ubuntu AFP file server with Time Machine support”
Hmmm I’ve had Netatalk running like this for a long time, but after using Leopard, found that the macs would create everything without group or world read permissions, and no way of changing that behaviour. Very annoying on a muti user network. Maybe it’s time to reinvestigate this. :)
For two of our shares here, I’ve got an @midnight cronjob that just 777’s everything in those shares. Clunky but it works.
I just dropped a file in over AFP and it went in at 755. Worryingly, changing it in the Finder to “Everyone > Read & Write” changed it to 000!
Surely that’s not right…
This is the solution I found worked for me.
I was getting an invalid username or password error.
@Kris: Awesome, thanks for the tip!