From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <guix-patches-bounces+larch=yhetil.org@gnu.org>
Received: from mp1.migadu.com ([2001:41d0:403:4876::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms13.migadu.com with LMTPS
	id EKfYEO7Q0WYsGgAA62LTzQ:P1
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Fri, 30 Aug 2024 14:02:22 +0000
Received: from aspmx1.migadu.com ([2001:41d0:403:4876::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp1.migadu.com with LMTPS
	id EKfYEO7Q0WYsGgAA62LTzQ
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Fri, 30 Aug 2024 16:02:22 +0200
X-Envelope-To: larch@yhetil.org
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="V2i8/u6W";
	dkim=pass header.d=gmail.com header.s=20230601 header.b=khE2Bfh2;
	spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org";
	dmarc=pass (policy=none) header.from=gmail.com
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1725026542;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:resent-cc:
	 resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post:dkim-signature;
	bh=kJ3OMO278EUQfEKmfnnA3dstb9YMzJ5a2JdWcQUvcUI=;
	b=gTAIxhitTeHKqQF0q/nh6znsjEMmr3sM1TgDRdIaTJlQaeB8o8hkWpgPApvniKRBqCo+7L
	reGEbRKYsuoP9Y8RnHGAttAyqCFQxpq4OKh2J8dDrEjDtXLibbEDmXcVhb1MFKiPp21+27
	kTRFWlOkWWS1j4B8gzLg4sc0dCdnlzMdnVIhEEhYK7JHPeGSgAdzggdwjp+0t4D3tPaqRt
	ttY4d8cJT3+nV0hhDN5A7rh0rXxS9YuzM+CJnuL61FcjG4AIhgKf9o+iaUDG4G9Zb9B5I2
	4rNqCei5c6uq0CrepO/EDh+6qLpwHYw/rofEGvTwmXfMqgH27aTDHpmcVX3g7Q==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="V2i8/u6W";
	dkim=pass header.d=gmail.com header.s=20230601 header.b=khE2Bfh2;
	spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org";
	dmarc=pass (policy=none) header.from=gmail.com
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1725026542; a=rsa-sha256; cv=none;
	b=dDmd6X7k8CMBxjr8HeCzXbOXTRPNm9LXCSqNhZoNNm4Yaz1fh7z353pc7z2ZaJq2AIbBNN
	+4DDi8xrEFv0sFEowPbXCO19vS/UKrEuyQIBGOZbb/BbCE+6fWx4OlV0bfBJ/i5sCHUOSb
	4zGTFYHdcDriy/a/AKQnVahw40xmYq7WXNANU93ck5Key+kUiFDBdJ2Th0agJxspkj6IuS
	fcDDhbvMcmsAxw+h3NnCoTIOLUnS9Ks8SpTlHA5ShWTW0y6ROEFlaZIB1B9E8uUJCPk9v7
	/iMlGuvWzFeTZcrNw76mFyOWK9nLewqwdMmAovK3DzDaIVrfsEMu+4WGdelHGA==
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id C6FB522431
	for <larch@yhetil.org>; Fri, 30 Aug 2024 16:02:21 +0200 (CEST)
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <guix-patches-bounces@gnu.org>)
	id 1sk2CZ-00017X-FN; Fri, 30 Aug 2024 10:02:11 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1sk2CV-0000sQ-9e
 for guix-patches@gnu.org; Fri, 30 Aug 2024 10:02:08 -0400
Received: from debbugs.gnu.org ([2001:470:142:5::43])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1sk2CU-0007qw-F4
 for guix-patches@gnu.org; Fri, 30 Aug 2024 10:02:07 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=debbugs.gnu.org; s=debbugs-gnu-org; 
 h=From:MIME-Version:Date:To:In-Reply-To:References:Subject;
 bh=kJ3OMO278EUQfEKmfnnA3dstb9YMzJ5a2JdWcQUvcUI=; 
 b=V2i8/u6WbHS2eXHIOi0kdVOD6dHB8LE8atKPwsS9MmCgSbxYaMJNKeh5TUljirSCpHihGAzkSK0Ng2Ylp/F9eOQ8t9Z5z6hRh1tRFeBkpiTr6VbAAcKEbqb+HtEF2dVYCTVEKtkNdCf4KE+TnjOdDLFBwD+kkvW3s+zcHUgS1djVrQSd0Xi5HZXScXzVml4hQNtfUiqFwZM6uBJw2By0e3JpkRzSzpuyTEyRm16rk+LvcPXcBOMIdMiWupr08NU/q8Nc3NU62DA0q995/tlYn9mRcjiOiY7hFhRE+bpR1VF/jnUg4NvCAxJBGisOOmXtaTJG8GjmFStU+ap7Mef5sg==;
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1sk2DO-0006xg-MZ
 for guix-patches@gnu.org; Fri, 30 Aug 2024 10:03:02 -0400
X-Loop: help-debbugs@gnu.org
Subject: [bug#72867] when should local-file and current-source-directory not
 follow symlinks?
References: <e2bf165fc2905bcc8d33d23293eb3d31f3fbe4b8.1724911574.git.nigko.yerden@gmail.com>
In-Reply-To: <e2bf165fc2905bcc8d33d23293eb3d31f3fbe4b8.1724911574.git.nigko.yerden@gmail.com>
Resent-From: Nigko Yerden <nigko.yerden@gmail.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: guix-patches@gnu.org
Resent-Date: Fri, 30 Aug 2024 14:03:02 +0000
Resent-Message-ID: <handler.72867.B72867.172502656726729@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 72867
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: Attila Lendvai <attila@lendvai.name>
Cc: 72867@debbugs.gnu.org
Received: via spool by 72867-submit@debbugs.gnu.org id=B72867.172502656726729
 (code B ref 72867); Fri, 30 Aug 2024 14:03:02 +0000
Received: (at 72867) by debbugs.gnu.org; 30 Aug 2024 14:02:47 +0000
Received: from localhost ([127.0.0.1]:53312 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1sk2D8-0006x3-Ok
 for submit@debbugs.gnu.org; Fri, 30 Aug 2024 10:02:46 -0400
Received: from mail-lj1-f195.google.com ([209.85.208.195]:55735)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <nigko.yerden@gmail.com>) id 1sk2D5-0006wi-Bp
 for 72867@debbugs.gnu.org; Fri, 30 Aug 2024 10:02:45 -0400
Received: by mail-lj1-f195.google.com with SMTP id
 38308e7fff4ca-2f40a1a2c1aso16992421fa.3
 for <72867@debbugs.gnu.org>; Fri, 30 Aug 2024 07:01:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1725026440; x=1725631240; darn=debbugs.gnu.org;
 h=content-transfer-encoding:content-language:subject:from:cc:to
 :user-agent:mime-version:date:message-id:from:to:cc:subject:date
 :message-id:reply-to;
 bh=kJ3OMO278EUQfEKmfnnA3dstb9YMzJ5a2JdWcQUvcUI=;
 b=khE2Bfh2JEkPAwCMMMZpoDhuMKuFeRyiThoqRhbNRWg4J3+WO+7T3muV56uDLfu8p4
 g7KyDJlw1Z1YZ2Fg8CFwUB7A7TXnDQtQ+IsTSeouNSCa0UseeBF09L9UicTI44R5uQe9
 x6UfAHPc3vhTWdGmFIVnN28CES8p4JWcERKtQ4SbG+Pyf4hDylIGK32/Pn8YxRI6Pm6x
 LU0e6sTPGJmcsTGDV1GqLE3STtME8qj1YzUEQKYpqq09v3cOTagfsjIShdimSVOwey3B
 cgi1RjWpi+DrDmPm6/FB6SGQK9uAQ/0x/WKdJoR/A09EjfkKmhihjckITJ4nJ9J94RY9
 MwZA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1725026440; x=1725631240;
 h=content-transfer-encoding:content-language:subject:from:cc:to
 :user-agent:mime-version:date:message-id:x-gm-message-state:from:to
 :cc:subject:date:message-id:reply-to;
 bh=kJ3OMO278EUQfEKmfnnA3dstb9YMzJ5a2JdWcQUvcUI=;
 b=rPK2d8WTlyrYB3f8UHaFBqhKKVjD143NxcOOxhWrsWlRv4UVz7sSrMjVFyWHRhsXSL
 J7qYIgI7f2smQXgquZbQNAbr/UP+xqsp40lBnYl9R3kTyghDFmzRnPYjpMBw1lnNzSvO
 IT8iLnsd+l1OLOkaOPWNrI/hw/Nz4OsDnUMV4aUOPyzWJWGuBVdJ7a5xLgJCgrxRma8/
 rweEHC5f2PLNoLf+R0FARL47mDUKurXGdKmZA6bNqKwMYS/j5fVoeIL2U2PQusnyX9cM
 xvBC8CNoTymCCU4AeytnzLokdfVAejt9Ij2Y3GvaKK2A8E54wpSbIyjeOFwsRjmsQVlI
 hSmw==
X-Gm-Message-State: AOJu0Yx95YZ+e6VFhuJV5HRc6xOptF6hR3ZWTwUxXIJHTFNJJqdgGEv6
 CI0Sf3NNy7sigbudBrUFOg/h/PjZd2p9fPRvwcJVygXcCVrMaL8rJNdNsxVV
X-Google-Smtp-Source: AGHT+IEQ7iHtmdwWCQL0/1wprKWGfKe1th+IVSaymP47muiXsWbF5t0dZ8PzWa2Ex6xAYGYIUts76g==
X-Received: by 2002:a05:6512:6cf:b0:533:4b76:cb59 with SMTP id
 2adb3069b0e04-53546b9d487mr1680393e87.57.1725026439576; 
 Fri, 30 Aug 2024 07:00:39 -0700 (PDT)
Received: from [127.0.0.1] ([188.68.135.139]) by smtp.gmail.com with ESMTPSA id
 2adb3069b0e04-5354084de30sm617409e87.243.2024.08.30.07.00.38
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Fri, 30 Aug 2024 07:00:39 -0700 (PDT)
Message-ID: <486161ee-563b-4de8-8cef-a970f5862fd0@gmail.com>
Date: Fri, 30 Aug 2024 19:00:38 +0500
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
From: Nigko Yerden <nigko.yerden@gmail.com>
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: guix-patches@gnu.org
List-Id: <guix-patches.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/guix-patches>
List-Post: <mailto:guix-patches@gnu.org>
List-Help: <mailto:guix-patches-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=subscribe>
Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org
Sender: guix-patches-bounces+larch=yhetil.org@gnu.org
X-Migadu-Country: US
X-Migadu-Flow: FLOW_IN
X-Spam-Score: -10.54
X-Migadu-Queue-Id: C6FB522431
X-Migadu-Scanner: mx10.migadu.com
X-Migadu-Spam-Score: -10.54
X-TUID: NuVm/9aZXFHP

No, I can't give you an example. The original 'current-source-directory' was
designed not to follow symlinks. This wasn't my idea. By setting the default
I just keep the original behavior.

Regards,
Nigko

Attila Lendvai wrote:
> pardon my ignorance, but can you give me a (plausible) example when someone 
> wants to load some files relative to a source file, and also wants to be 
> conscious of symlinks, and chose not to follow them? 
> 
> let alone making that the default anywhere around such operations?
> 
> --
> • attila lendvai
> • PGP: 963F 5D5F 45C7 DFCD 0A39
> --
> “An armed society is a polite society. Manners are good when one may have to 
> back up his acts with his life.”
>         — Robert Heinlein (1907–1988), 'Beyond This Horizon'