Received: from mail-qk1-f173.google.com (mail-qk1-f173.google.com [209.85.222.173]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 1349B782B4C for <~alpine/users@lists.alpinelinux.org>; Sat, 7 Nov 2020 16:46:26 +0000 (UTC) Received: by mail-qk1-f173.google.com with SMTP id b18so4107305qkc.9 for <~alpine/users@lists.alpinelinux.org>; Sat, 07 Nov 2020 08:46:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=Y4fZDrKD44qAwvTgtx7tytVQy93vnvzTv+Oy6HxSHNc=; b=T8M6QoO2T0vssE+e0gQteMnjqa/gVSuPOF380YFuDNXbSNfCv68ZwiscRSQ1xZMDKW u80LFknDES6Ak4bj8nvYE4TWDjZPi8aUPo/VWCUP3VpMVm5oQLge2O7FMRhdapha8u9d vydh3ZTfh7R3NaT0ote2YLuQEoFx52ZD2Vk0MKRcE4aoTYcFGZWXCitDk37ojN6yoD04 wO9z7rVFlSJHF/G5QJcDQqnccgS5CYKHKTBWaqEmNrJjyaGRJXTmkSxKjdACNz063quA 9ML4JCQaSTRN2LqEmuhiQEXe8C6DEnb8+sIxIocK38C70s+AqWW/17WSTaBfBnan1WoI fh6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=Y4fZDrKD44qAwvTgtx7tytVQy93vnvzTv+Oy6HxSHNc=; b=GsVgtuhGGaDpWLXeTYaOXefl68ji4ngYIalYs9FXy+NjKt/DxJzDFzof5Q6v2nbDXC xk6CIeYFJXkF845McnL86+DoZhhoppf1vAKUseswLIQBR5Z5UW9afVcYw6okBjBh1jev c7CzwrTMACvs0Zws80idEKhPMIILShuONFCJtEV+GQvOcoZja2r85RkzJv7Ed97TSqgj ogde6erI/cmomYMAQ/a8VytV4UosOczhkVDlnHByPStal4EYfNpUQqoGcuBlGbv9knYM l/b2KJy5gblBtWZOxqi++aB3MDWay0HNIiENlt3MEtA2ORj3AC+BfSlLUajI0BQeCUg3 YJuQ== X-Gm-Message-State: AOAM533bNSJ0xxifIo1j+N6BiSm92AZ18qlLJtMPEym9FVmeNVb5oXIB 1z57BQXKX6IjJSOTldFx5gcEj8/oGT4CJEd7GVYld1mZFo2hIQ== X-Google-Smtp-Source: ABdhPJxCL6gpMP3zaLqP6z95dd8W3yNF2xO4nYQN/KDxodxSYVNGkMVMPgmNs2WrpgXBG+J5v16G5O1KsPbK5NTiTKY= X-Received: by 2002:a37:7c81:: with SMTP id x123mr6418027qkc.383.1604767584654; Sat, 07 Nov 2020 08:46:24 -0800 (PST) MIME-Version: 1.0 From: =?UTF-8?B?RnJhbsOnb2lzIExhY2jDqHNl?= Date: Sat, 7 Nov 2020 17:46:13 +0100 Message-ID: Subject: Rsync in chrooted ssh in alpine docker image result in failed to set permissions To: ~alpine/users@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, I use an alpine docker image with openssh and rsync installed. If I try to rsync to the container, everything is working fine with default ssh configuration. As soon as I try to chroot the user and after copying bins and library to the user directory I get errors. for exemple : rsync -a -e 'ssh -p 2222' /home/user/Pictures/ localhost:/backups/071120 gives rsync: failed to set permissions on "/backups/071120/.Screenshot from 2019-12-26 13-47-24.png.NKoiaj": No such file or directory (2) I tried the same configuration and rsync command with a ubuntu base image and it works so I guess there is something different with the Alpine image. Any idea of what it could be ? Thanks, Fran=C3=A7ois