From ad2d88767459b181af6b586e022d48e51e1eda06 Mon Sep 17 00:00:00 2001 From: norly Date: Mon, 26 Aug 2019 00:10:18 +0200 Subject: [PATCH] Pretend chown() is supported This keeps cp -a from spamming stderr with error messages. --- AEpy/AEFuse.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/AEpy/AEFuse.py b/AEpy/AEFuse.py index 7a1ec4a..5aeafb4 100644 --- a/AEpy/AEFuse.py +++ b/AEpy/AEFuse.py @@ -462,7 +462,8 @@ class AEFuse(Operations): def chown(self, path, uid, gid): # AmigaOS does not know users/groups. - raise FuseOSError(EROFS) + # Pretend it does, to keep cp from spamming stderr. + pass # Called on umount -- 2.30.2