Advertisement
Guest User

Mail to AFP team @ Apple

a guest
Dec 17th, 2014
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.28 KB | None | 0 0
  1. Brad Suinn wrote:
  2.  
  3. > The reports are that a 10.4.6 client using AppleShare and mounting a
  4. > 10.3.x Mac OS X Server is seeing some sharepoints as read only, when
  5. > a 10.4.5 client will see it as read/write.
  6.  
  7. No, quite different.
  8.  
  9. > So, I would like to see a packet trace done from a 10.4.6 client mounting
  10. > a sharepoint that should be read/write, but for some reason shows up as
  11. > read only.
  12.  
  13. Sorry for the initial confusion -- I used terminology from Helios [1]
  14. instead of AFP terminology. So the situation is a bit different compared to
  15. what you understood already from my broad description.
  16.  
  17. We saw the following behavior:
  18.  
  19. * after updating to 10.4.6 Photoshop will 'randomly' crash after saving to
  20. 3rd party AFP servers (Netatalk, EtherShare, ExtremeZ-IP and others). All
  21. sharepoints are read-write, no "Unix privs" enabled but inherited access
  22. privileges instead (useful in most company's workflows), AFP 3.1 (no ACLs)
  23. are in use
  24.  
  25. * so we had a closer look into it and discovered that it has something to do
  26. with the attribute bitmap of the parent folder of the saved file
  27.  
  28. * We realized that some folders that had the kFPRenameInhibitBit and
  29. kFPDeleteInhibitBit set were mapped to the 'user immutable' flag starting
  30. with 10.4.6. So when I referred to "locked" in my first mail I meant
  31. kFPRenameInhibitBit *and* kFPDeleteInhibitBit in reality
  32.  
  33. At the server we see ('r' means 'read only', 'l' means 'locked' [1])
  34.  
  35. sun-server:/> /usr/local/helios/bin/dt ls -la $folder
  36. d----r---I- 32 2 1998-06-30 10:25 4096 64 Manuel
  37. d----rl--IS 27146 2 2002-04-29 22:36 2048 64 Patricia
  38. d----r---I- 39 2 2000-10-02 05:15 1536 316 Patrick
  39. d-----l---- 28634690 2 2006-04-05 15:15 512 64 Test
  40. d--i-r---I- 52 2 2000-05-03 18:52 3584 64 Yann
  41.  
  42. With 10.4.5 there is no mapping to "user immutable":
  43.  
  44. 10.4.5:~ tk$ ls -lo $folder
  45. drwxrwxrwx 29 yb staff - 942 4 Apr 16:41 Manuel
  46. drwxrwxrwx 8 yb staff - 264 21 Apr 2005 Patricia
  47. drwxrwxrwx 38 yb staff - 1248 4 Apr 14:50 Patrick
  48. drwxr-xr-x 2 yb staff - 264 5 Apr 15:15 Test
  49. drwxrwxrwx 78 yb staff - 2608 30 Mär 11:12 Yann
  50.  
  51. And with 10.4.6 some bits of the directory's attributes seem to be
  52. interpreted at the VFS level as uchg flag:
  53.  
  54. 10.4.6:~ tk$ ls -lo $folder
  55. drwxrwxrwx 29 yb staff uchg 942 4 Apr 16:41 Manuel
  56. drwxrwxrwx 8 yb staff uchg 264 21 Apr 2005 Patricia
  57. drwxrwxrwx 38 yb staff uchg 1248 4 Apr 14:50 Patrick
  58. drwxr-xr-x 2 yb staff uchg 264 5 Apr 15:15 Test
  59. drwxrwxrwx 78 yb staff uchg 2608 30 Mär 11:12 Yann
  60.  
  61. So we believe that this mapping of some bits of the directory attributes
  62. bitmap to the 'user immutable' BSD flag might have introduced the problem
  63. seen with Photoshop.
  64.  
  65. I hope the whole situation is better understandeable now.
  66.  
  67. Thomas
  68.  
  69. [1] Helios lets users adjust the file/directory Attributes Bitmap via a unix
  70. command (dt set) which understands the following flags:
  71.  
  72. i invisible
  73. s system
  74. r read only
  75. l locked (norename nodelete)
  76. b backup
  77. p protected
  78.  
  79. http://www.helios.de/support/manuals/BASEUB-e/base-html/Output/Kap7.html
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement