
Verify the permission changes with ls ls -alFĭrwxr-xr-x 5 root root 4096 Apr 25 18:48. You will have to improvise and use your systems own mount and or backup location.ĥ. Change the permissions of the Backups directory. Add passwords for the newly created user(s).Ĥ. Useradd -create-home -groups users -user-group brianģ. Useradd -create-home -groups users -user-group anne They will receive a home folder /home/username and become members of the group users and username. In my example users anne & brian will be created. The default location for most Linux distros.Ģ. Create a place for the users home folder with mkdir /home/. Most online guides use “TimeMachine” however “Backups” is more traditional since it's the default when using macOS Server or Time Capsule although it realy dosen't matter what you call it, as long as they both match.ĭon't forget to restart the daemons after changing the configuration.Īdd new user(s) to a supplementary group named “users”ġ. If you used my example settings above leave this set to Backups. You can create a UUID in LEDE by writing cat /proc/sys/kernel/random/uuid (each time generating and displaying a new UUID).ĪdVN=Backups should match the virtual volume name of your timemachine = YES share from /etc/afp.conf. Some available options are Xserve, PowerBook, PowerMac, Macmini, iMac, MacBook, MacBookPro, MacBookAir, MacPro, MacPro6,1, TimeCapsule, AppleTV1,1 and AirPort.ĪdVU=00000000-AAAA-BBBB-CCCC-111111111111 must be changed to a uniquely generated UUID. Model=TimeCapsule this determines the hardware icon that appear within macOS Finder. Let's create a service file nano /etc/avahi/services/afp.service using the template below. We previously installed avahi-daemon (via avahi-utils) for exactly this purpose. The LEDE implementation of Netatalk was not compiled with Zeroconf support so we must advertise the required afpovertcp, device-info, and adisk text-record properties manually. Valid users = forget to restart the daemon with /etc/init.d/afpd restart. The calculation works by reading the band size from the ist XML file of the sparsebundle, reading the bands/ directory counting the number of band files, and then multiplying one with the other. Therefor you MUST NOT use this volume to store other content when using this option, because it would NOT be accounted. IMPORTANT: This is an approximated calculation taking into account the contents of Time Machine sparsebundle images. Example: “vol size limit = 1000” would limit the reported disk space to 1 GB. Useful for Time Machine: limits the reported volume size, thus preventing Time Machine from using the whole real disk space for backup. Select the one, which you want to use for listening. įor initial configuration, it's good to check the log file. Make sure to checkout the documentation for more Time Machine options and other possible AFP uses. Netatalk has a lot of great features not covered in this guide. Let's edit ours with nano /etc/afp.conf and setup our Time Machine Server we'll be using the nano text editor in this tutorial. The afp.conf file contains all AFP specific configurations and AFP volume definitions.

Use the following chmod commands to fix this bug.

The current Netatalk package (netatalk - 3.1.10-1) has minor posix permission issues. Server messages path: /var/netatalk/msg/ Basic File Share Configuration (Time Machine Server)

Please see the file COPYING for further information and details.Īfpd has been compiled with support for these features:Īfp_nf: /var/netatalk/afp_nfĪfp_nf: /var/netatalk/afp_nf
#NETATALK HIDE FOLDER LICENSE#
The terms of the GNU General Public License as published by the Free Softwareįoundation either version 2 of the License, or (at your option) any later
#NETATALK HIDE FOLDER SOFTWARE#
This program is free software you can redistribute it and/or modify it under With a simple command afpd -V we can check what features have been compiled into Netatalk.Īfpd 3.1.10 - Apple Filing Protocol (AFP) daemon of Netatalk The good news Time Machine support is available. That was probably a wise decision to save space and provide a broader range of hardware support. Many of the Netatalk goodies such as Spotlight search, Zeroconfig, ACL and LDAP support have been disabled.
