Skip to contentSkip to conversation

generic: update errors to be returned when doing cross renames w/o keys

PATCH New Theodore Ts'o 1 participant 1 message Feb 3, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 generic: update errors to be returned when doing cross renames w/o keys

The bug fix that ultimately landed in the fscrypt tree will return ENOKEY instead of EPERM when doing a cross rename involving a directory where the key is not available. So fix up the golden output for generic/398 accordingly.

---
 tests/generic/398.out | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tests/generic/398.out +2 -2
index f9274878..8e08270d 100644
@@ -39,7 +39,7 @@ Operation not permitted
 
 
 *** Exchange encrypted <=> encrypted without key ***
-Operation not permitted
+Required key not available
 
 *** Exchange encrypted <=> unencrypted without key ***
-Operation not permitted
+Required key not available
Signature · 1 line
2.11.0.rc0.7.gbe5a750