Photos 1.2 (340.4.0) can't migrate an iPhoto archive from AFP share

Originator:rabaxabel
Number:rdar://23613139 Date Originated:2015-11-19
Status:Open Resolved:
Product:Mac OS X / Photos Product Version:10.11.1 / 1.2 (340.4.0)
Classification: Reproducible:always
 
Summary:
After upgrading to OS X El Capitan, Photos fails to migrate the iPhoto archive, located on an AFP share, with the error panel (translated from German):

"Repairing media rights.
Archive is protected or you have no  access rights for modifications.
Photos can repair permissions."

Trying to repair permissions fails after a while with an error message, which does not allow to continue migration.

Steps to Reproduce:
1.Setup a network account (ajr) and configure a OSX client to login into that account.
2. On the server prepare a volume for an iPhoto library and create acls like so:
chmod -R +a "ajr allow list,add_file,search,delete,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity,writesecurity,chown,file_inherit,directory_inherit" iPhotoLib
3. Mount that volume at the client (user ajr) and create the iphoto library on it.
4. Note: iPhoto runs perfectly on that volume. Different Network users (if acls added for them) have write access to the library, if not connected simultaneously.
5. Try to migrate the library to Photos.


Expected Results:
As the acl does allow everything for the user ajr, Photos should be able to create all changes/locks to the iPhoto library as needed.

Actual Results:
Instead Photos comes up with the above error message.
No hint in the logs about what went wrong.

Version:
10.11.1 (15B42)

Attachment shows ACL:

[zeus:Raus/Bild_Archiv/B] root# ls -le iPhotoLib
total 51216
-rw-rw-rw-@  1 ajr   raus       151 Nov 18 11:36 .Projects.db-conch
-rw-rw-rw-   1 ajr   raus       148 Sep 24  2011 .SharingActivity.db-conch
-rw-rw-rw-   1 ajr   raus      4096 Apr 12  2013 ._.Projects.db-conch
-rw-rw-rw-   1 ajr   raus      4096 Jan 29  2014 ._AlbumData.xml
-rw-rw-rw-   1 ajr   raus      4096 Apr 12  2013 ._Info.plist
-rw-rw-rw-   1 ajr   raus      4096 Apr 12  2013 ._ProjectDBVersion.plist
-rw-rw-rw-   1 ajr   raus      4096 Apr 12  2013 ._Projects.db
-rw-rw-rw-   1 ajr   raus      4096 Apr 12  2013 ._iPhoto.ipspot
-rw-rw-rw-   1 ajr   raus      4096 Apr 12  2013 ._iPhotoLock.data
-rw-rw-rw-   1 ajr   raus      4096 Jan 25  2014 ._iPod Photo Cache
-rw-rw-rw-@  1 ajr   raus        16 Jul  9  2011 .ipspot_update
-rw-r--r--@  1 ajr   raus  24041886 Nov 19 12:32 AlbumData.xml
drwxrwxrwx   2 ajr   raus        68 Mar  8  2011 Attachments
drwxrwxrwx   2 ajr   raus        68 Feb 18  2009 Auto Import
drwxrwxrwx   8 ajr   raus       272 Mar  9  2011 Backup
drwxrwxrwx+  4 ajr   raus       136 Dec 11  2013 Caches
 0: user:_spotlight allow list,search,file_inherit,directory_inherit
 1: user:wlr allow list,add_file,search,delete,add_subdirectory,delete_child,file_inherit,directory_inherit
 2: user:ajr allow list,add_file,search,delete,add_subdirectory,delete_child,file_inherit,directory_inherit
drwxrwxrwx+  4 ajr   raus       136 Jan 29  2014 Contents
 0: user:_spotlight allow list,search,file_inherit,directory_inherit
 1: user:wlr allow list,add_file,search,delete,add_subdirectory,delete_child,file_inherit,directory_inherit
 2: user:ajr allow list,add_file,search,delete,add_subdirectory,delete_child,file_inherit,directory_inherit
lrwxr-xr-x@  1 axel  raus        14 Jun  8  2009 Data -> ./Data.noindex
lrwxr-xr-x@  1 axel  raus        12 Mar  8  2011 Data.noindex -> ./Thumbnails
drwxrwxrwx+ 32 ajr   raus      1088 Nov 19 15:04 Database
 0: user:_spotlight allow list,search,file_inherit,directory_inherit
 1: user:wlr allow list,add_file,search,delete,add_subdirectory,delete_child,file_inherit,directory_inherit
 2: user:ajr allow list,add_file,search,delete,add_subdirectory,delete_child,file_inherit,directory_inherit
-rw-rw-rw-@  1 ajr   raus       326 Nov 19 12:29 Info.plist
 0: user:_spotlight allow read,execute
 1: user:wlr allow read,write,execute,delete,append
 2: user:ajr allow read,write,execute,delete,append
-rw-rw-rw-+  1 ajr   raus        22 Mar  9  2011 Library.data
 0: user:_spotlight allow read,execute
 1: user:wlr allow read,write,execute,delete,append
 2: user:ajr allow read,write,execute,delete,append
-rw-rw-rw-+  1 ajr   raus        22 Mar  9  2011 Library.iPhoto
 0: user:_spotlight allow read,execute
 1: user:wlr allow read,write,execute,delete,append
 2: user:ajr allow read,write,execute,delete,append
-rw-rw-rw-+  1 ajr   raus        12 Mar  9  2011 Library6.iPhoto
 0: user:_spotlight allow read,execute
 1: user:wlr allow read,write,execute,delete,append
 2: user:ajr allow read,write,execute,delete,append
drwxrwxrwx+ 18 ajr   raus       612 Jan  1  2015 Masters
 0: user:_spotlight allow list,search,file_inherit,directory_inherit
 1: user:wlr allow list,add_file,search,delete,add_subdirectory,delete_child,file_inherit,directory_inherit
 2: user:ajr allow list,add_file,search,delete,add_subdirectory,delete_child,file_inherit,directory_inherit
lrwxr-xr-x@  1 axel  raus        10 Mar  8  2011 Modified -> ./Previews
lrwxr-xr-x@  1 axel  raus         9 Mar  8  2011 Originals -> ./Masters
drwxrwxrwx+ 18 ajr   raus       612 Jan  1  2015 Previews
 0: user:_spotlight allow list,search,file_inherit,directory_inherit
 1: user:wlr allow list,add_file,search,delete,add_subdirectory,delete_child,file_inherit,directory_inherit
 2: user:ajr allow list,add_file,search,delete,add_subdirectory,delete_child,file_inherit,directory_inherit
drwxrwxrwx+  7 ajr   raus       238 Jul  7  2013 ProjectCache
 0: user:_spotlight allow list,search,file_inherit,directory_inherit
 1: user:wlr allow list,add_file,search,delete,add_subdirectory,delete_child,file_inherit,directory_inherit
 2: user:ajr allow list,add_file,search,delete,add_subdirectory,delete_child,file_inherit,directory_inherit
-rw-rw-rw-@  1 ajr   raus       341 Feb  1  2014 ProjectDBVersion.plist
 0: user:_spotlight allow read,execute
 1: user:wlr allow read,write,execute,delete,append
 2: user:ajr allow read,write,execute,delete,append
-rw-rw-rw-@  1 ajr   raus   1835008 Nov 19 15:04 Projects.db
 0: user:_spotlight allow read,execute
 1: user:wlr allow read,write,execute,delete,append
 2: user:ajr allow read,write,execute,delete,append
-rw-rw-rw-@  1 ajr   raus    176193 Apr 27  2011 ThemeCache
 0: user:_spotlight allow read,execute
 1: user:wlr allow read,write,execute,delete,append
 2: user:ajr allow read,write,execute,delete,append
drwxrwxrwx+ 22 ajr   raus       748 Jan  1  2015 Thumbnails
 0: user:_spotlight allow list,search,file_inherit,directory_inherit
 1: user:wlr allow list,add_file,search,delete,add_subdirectory,delete_child,file_inherit,directory_inherit
 2: user:ajr allow list,add_file,search,delete,add_subdirectory,delete_child,file_inherit,directory_inherit
-rw-rw-rw-+  1 ajr   raus     59532 Dec 23  2013 com.apple.iPhoto.plist
 0: user:_spotlight allow read,execute
 1: user:wlr allow read,write,execute,delete,append
 2: user:ajr allow read,write,execute,delete,append
drwxrwxrwx+  7 ajr   raus       238 Nov 19 12:32 iLifeShared
 0: user:_spotlight allow list,search,file_inherit,directory_inherit
 1: user:wlr allow list,add_file,search,delete,add_subdirectory,delete_child,file_inherit,directory_inherit
 2: user:ajr allow list,add_file,search,delete,add_subdirectory,delete_child,file_inherit,directory_inherit
-rw-rw-rw-+  1 ajr   raus        91 Apr 12  2013 iPhoto.ipspot

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!