hardlinkCopy must not fail if proc/sys/fs/protected_hardlink is on
authorMichael Andres <ma@suse.de>
Fri, 25 Jul 2014 10:52:36 +0000 (12:52 +0200)
committerMichael Andres <ma@suse.de>
Fri, 25 Jul 2014 10:55:45 +0000 (12:55 +0200)
zypp/PathInfo.cc

index 3b9e570..fed07df 100644 (file)
@@ -836,6 +836,7 @@ namespace zypp
       {
         switch ( errno )
         {
+         case EPERM: // /proc/sys/fs/protected_hardlink in proc(5)
           case EXDEV: // oldpath  and  newpath are not on the same mounted file system
             return copy( oldpath, newpath );
             break;