From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7197029299818332160 X-Received: by 2002:a05:6808:128f:b0:36a:d79d:6b44 with SMTP id a15-20020a056808128f00b0036ad79d6b44mr1292388oiw.265.1676044728348; Fri, 10 Feb 2023 07:58:48 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6808:17a2:b0:36b:9295:8fcc with SMTP id bg34-20020a05680817a200b0036b92958fccls1819135oib.9.-pod-prod-gmail; Fri, 10 Feb 2023 07:58:47 -0800 (PST) X-Google-Smtp-Source: AK7set+jeegVNUwNP4Ao1JauhR3Msx0nkes/26gpCQhz/XrlwhpGFpHal/Bct0h7RQZ6hPE7d7RA X-Received: by 2002:a05:6808:4344:b0:35b:52b:9371 with SMTP id dx4-20020a056808434400b0035b052b9371mr7093944oib.11.1676044727816; Fri, 10 Feb 2023 07:58:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676044727; cv=none; d=google.com; s=arc-20160816; b=tQ9JoXB3W0qNqM9SznWKOFr/p+GM+ek0KiLC0pHmroSeeIzuaErVH6YhPIqwXxauAR 41CFq6EvNw4+abXktbgto/YCpVlYjLEvU/TzmssPF966uPTYRKs4qxhpla/55k7D8SFB UBqSJczVIBP5tVB/AyHn1arzmZYiH7UmNVK8dp53nU5XQKLrcGSDp9oIjXTXlFYPENkO VSCMfaK9NxOf6idWZRfajP5e940QNj0CQzLVuw91rSH+4WvAMgSMY/dQQGhCx7cv3uZg L+m5W1pC0UJ61ZgYaOl68gK8rD4ll/l9kANp5E8pWW6/ZGtTLM0wenOsZWv/UzQw1uGB IWxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=ePUIUNjB7HlCvY5GXkYNv3Yjj1edAS0nVL38D1ESVeE=; b=wkUC5AS0eeG64V7Yu5o9kcYxuygxFneKJur1OHBLy2wh+sMuEZ3iLSFUjqG248DPZu 8XwAPxinX7Kmxoaq4T8SCh4EMY1IaUerxl+j+T5gHl3+azhZbO+H+XnIzE8GiW2/b6N4 xpWU8AnIy+akaNBDF8OFEe3DtygN0asUPRp98BnHNCNTt9qp4i2/HUNuqEn6Ucd9TmV9 8pTK5p++rm2hVTZ9Kp/snnKX6ZJNsNuVHyF5W2jaJHOgC1BgASacKV1/x9qUJJuhrvSl GJGtZY8cG4mNgVyn1txozZbzjLV2pRa2SFcKqtIJ2y+hDaYh5GnBZM0cVv2uE+jis+RR +pzw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="FErayMg/"; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::735 as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com. [2607:f8b0:4864:20::735]) by gmr-mx.google.com with ESMTPS id bd1-20020a056808220100b00378599bee7dsi392771oib.2.2023.02.10.07.58.47 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 10 Feb 2023 07:58:47 -0800 (PST) Received-SPF: pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::735 as permitted sender) client-ip=2607:f8b0:4864:20::735; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="FErayMg/"; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::735 as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: by mail-qk1-x735.google.com with SMTP id y10so2366391qkm.3 for ; Fri, 10 Feb 2023 07:58:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ePUIUNjB7HlCvY5GXkYNv3Yjj1edAS0nVL38D1ESVeE=; b=FErayMg/itozAb1v/ohEGNvUaqBzSkwWSD1eiHoegt0FUEc3sIW3vHOCD4hDF1DzEp +TRFJxFwjlWAl77JmbwGv/H5ItsnqORJSdDQTv6nmob4VGtwk7c2GbDfKBToVceYydYf 4wEAxdav8hwsoY0O2GyNW1mWoQKYTYUQY2+SDvoxeLYbp2vjQxvA2rWSPoxheiMn2N6x Qfy6Wj399qShQP0lQdi8gYlg4rkWO/rTB6aJg5piK3l72ScCGQBFJUif3KJJU1NOznDx M+oyvuFcTpilyA3gRLt2hivMNEBHIMDv4wYZFzMEoig2z1t2AmQPPeuav8NRq4mT2uPD +PHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ePUIUNjB7HlCvY5GXkYNv3Yjj1edAS0nVL38D1ESVeE=; b=dPHG4ECkyCr/WVowxuyWr4hy32U5Wu5VAYxWaoleGf5K81O5/BKZ+D1MPxrXRZ0TKB kxt8CC3I387OB0ye2AwbRHwowNIbydJmTZe+hppjV7vBEZEqxWxKoge3VjawbklfwxHe S4z1pVjo9bziI3ZNmNXypqaGQzWEoIIgoRqawdJ+zTCqgQ/2UN85VdZ7MdiMnGv8Agd0 q5dOFavXCy6Hq7O1kbTvy0nukLminMb84anoCporlGXXJeHq4Y7ITeMMNX4VvGKy1DcN tlnA4ky2E1OWTiVPm2ldrXXaPlxCL+jtxVuo9ODd2KRVEjM/vlC07cLXt83iNfE5/mZM PRvw== X-Gm-Message-State: AO0yUKUvO0r/KWAkaT5tygzoKbE/YrOW4341z5OFYM1kLSMH5ImFHGHc c+k44KUpa9TntIKaq629tH1ua3fUE2xKmTJc/Q== X-Received: by 2002:a37:aa57:0:b0:719:1ae9:71a2 with SMTP id t84-20020a37aa57000000b007191ae971a2mr1227864qke.293.1676044727298; Fri, 10 Feb 2023 07:58:47 -0800 (PST) MIME-Version: 1.0 References: <20230210110908.1507520-1-roberto.foglietta@linuxteam.org> <20230210134803.00fe46b3@md1za8fc.ad001.siemens.net> <9866221.tdPhlSkOF2@home> In-Reply-To: <9866221.tdPhlSkOF2@home> From: "Roberto A. Foglietta" Date: Fri, 10 Feb 2023 16:58:10 +0100 Message-ID: Subject: Re: [PATCH v4] deb-dl-dir class rework to use faster ln -P or fallback to cp To: Uladzimir Bely Cc: Henning Schild , isar-users@googlegroups.com, roberto.foglietta@linuxteam.org Content-Type: text/plain; charset="UTF-8" X-TUID: kSUAhDGpeMo5 On Fri, 10 Feb 2023 at 14:27, Uladzimir Bely wrote: > > > > + chown -R $(id -u):$(id -g) "${pc}" > > 2 Roberto: This also won't work as expected. Since sudo moved to the upper > level, owner is 0:0 now instead of actual user:group, as it was before. > > I'm now testing v3 of my version of the fix. It works on per-file basis and > seems to have passed all my local thorough tests... at last. Tested code is better. I am working on something else, in fact. However, the version that I am using has not chown at all. After all, the APT cache is made for being used by root. Best regards, R-