This is using afpd 3.1.0 on FreeNAS 9.2.1.1
Description: Netatalk volumes don't seem to support Finder tags (introduced in OS X 10.9). It only supports the older label-feature which in 10.9 looks as if only one tag can be added at once.
Steps to reproduce:
- Mount a netatalk share and create a folder
- Using the Finder, add a red tag to the folder
- Check added extended attribute
- Add an orange tag to the same folder
Expected results:
- After the first tag:
p$ xattr -l test
com.apple.FinderInfo:
00000000 00 00 00 00 00 00 00 00 00 0C 00 00 00 00 00 00 |................|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020
com.apple.metadata:_kMDItemUserTags:
00000000 62 70 6C 69 73 74 30 30 A1 01 55 52 65 64 0A 36 |bplist00..URed.6|
00000010 08 0A 00 00 00 00 00 00 01 01 00 00 00 00 00 00 |................|
00000020 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000030 00 10 |..|
00000032
- After adding the second tag:
$ xattr -l test
com.apple.FinderInfo:
00000000 00 00 00 00 00 00 00 00 00 0E 00 00 00 00 00 00 |................|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020
com.apple.metadata:_kMDItemUserTags:
00000000 62 70 6C 69 73 74 30 30 A2 01 02 55 52 65 64 0A |bplist00...URed.|
00000010 36 58 4F 72 61 6E 67 65 0A 37 08 0B 11 00 00 00 |6XOrange.7......|
00000020 00 00 00 01 01 00 00 00 00 00 00 00 03 00 00 00 |................|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 1A |.............|
0000003d
Actual results:
- After adding the first tag:
$ xattr -l test
com.apple.FinderInfo:
00000000 00 00 00 00 00 00 00 00 00 0C 00 00 00 00 00 00 |................|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020
xattr: test: No such xattr: com.apple.metadata:_kMDItemUserTags
- After adding the second tag:
$ xattr -l test
com.apple.FinderInfo:
00000000 00 00 00 00 00 00 00 00 00 0E 00 00 00 00 00 00 |................|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020
xattr: test: No such xattr: com.apple.metadata:_kMDItemUserTags
The expected results were achieved while connected to an OS X 10.7.5 server.
We don't have this issue anymore with 3.1.3/FreeBSD 9.3