In Netatalk 3.0.5 I see a lot of those errors in syslog:
get_tm_bandsize("/xxx/xxx.sparsebundle/Info.plist"): Permission denied
As I see, Time Machine creates images that are only readable by its owner, so afpd has no access to the Info.plist.
I've been poking at this code, because I'm looking at get_tm_used() which reads all of the sparsebundles. I noticed that when I added a stat() call to read the ownership of the Info.plist file, it failed with a permission error since stat() requires execute permission on the path of the file its reading.
Now, I don't know what the permissions -should- be, but wrapping the code with become_root() and unbecome_root() addressed the permission issue. Possibly the developer assumed that each user would be redirected into a private directory where they owned all of the files?
For the moment I fixed it using "directory perm = 0750" in afp.conf. This seems to work quite well and because we use encrypted disk images it seems not to be a security problem.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.