projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e5bf02
)
hardlinkCopy must not fail if proc/sys/fs/protected_hardlink is on
author
Michael Andres
<ma@suse.de>
Fri, 25 Jul 2014 10:52:36 +0000
(12:52 +0200)
committer
Michael Andres
<ma@suse.de>
Fri, 25 Jul 2014 10:55:45 +0000
(12:55 +0200)
zypp/PathInfo.cc
patch
|
blob
|
history
diff --git
a/zypp/PathInfo.cc
b/zypp/PathInfo.cc
index
3b9e570
..
fed07df
100644
(file)
--- a/
zypp/PathInfo.cc
+++ b/
zypp/PathInfo.cc
@@
-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;