From: norly Date: Sun, 25 Aug 2019 22:10:18 +0000 (+0200) Subject: Pretend chown() is supported X-Git-Url: https://git.enpas.org/?p=fuse-aexplorer.git;a=commitdiff_plain;h=ad2d88767459b181af6b586e022d48e51e1eda06 Pretend chown() is supported This keeps cp -a from spamming stderr with error messages. --- 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