GNU bug report logs - #46258
openat, chownat, ... in Guile?

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guile; Reported by: Maxime Devos <maximedevos@HIDDEN>; dated Tue, 2 Feb 2021 14:47:01 UTC; Maintainer for guile is bug-guile@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 2 Feb 2021 14:46:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 02 09:46:05 2021
Received: from localhost ([127.0.0.1]:34424 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1l6wwO-0001KS-4Q
	for submit <at> debbugs.gnu.org; Tue, 02 Feb 2021 09:46:05 -0500
Received: from lists.gnu.org ([209.51.188.17]:49812)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1l6wwK-0001Gm-Or
 for submit <at> debbugs.gnu.org; Tue, 02 Feb 2021 09:46:02 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:48562)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <maximedevos@HIDDEN>)
 id 1l6wwK-0007Af-Ee
 for bug-guile@HIDDEN; Tue, 02 Feb 2021 09:46:00 -0500
Received: from xavier.telenet-ops.be ([2a02:1800:120:4::f00:14]:52574)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <maximedevos@HIDDEN>)
 id 1l6wwA-0002ur-Sl
 for bug-guile@HIDDEN; Tue, 02 Feb 2021 09:46:00 -0500
Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be
 ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d])
 by xavier.telenet-ops.be with bizsmtp
 id QEll2400N0mfAB401EllVy; Tue, 02 Feb 2021 15:45:45 +0100
Message-ID: <6c9d1a78a198d4b5111fe42af67eaeb241e507ae.camel@HIDDEN>
Subject: openat, chownat, ... in Guile?
From: Maxime Devos <maximedevos@HIDDEN>
To: bug-guile@HIDDEN
Date: Tue, 02 Feb 2021 15:45:31 +0100
Content-Type: multipart/signed; micalg="pgp-sha256";
 protocol="application/pgp-signature"; boundary="=-a+2XXKO/xI0T8oFag4eT"
User-Agent: Evolution 3.34.2 
MIME-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21;
 t=1612277145; bh=ZJpk23JxLEUJaxYb2uIWWfQAMP+uV0q3birWMhGIbpk=;
 h=Subject:From:To:Date;
 b=oie2lDw1xBz72RUuHR4rqDt5/BAGkvua/9CrSL2OH7g8p1U4YWH8b4JsS/udqZK+m
 l/K2uf7Z8vqJCKQXb7OBf+p6804lHdd06v7Fag+EAne//Zb5Rv+D5XAw6pRYvdtBFu
 swy8o/YEh6XaU0E9djBeP7IXOt16T4rHW4IsSmh7Fpuvk5CTHGKwu4yqsrSKvMksnl
 /M0lN+FG4c6v6XfHhb9A2QPvE2ZV3AVcPnObYmL6nNg0cXGdkKYk3CCtXB2TBtMNGT
 cxtmOlOFsugJhP+OlyZtVgFrycgjULJYZvCiYbKSLDwD4Xn0DQcwdw4WWkeYde3/+Y
 mdTiys2n94+Mw==
Received-SPF: pass client-ip=2a02:1800:120:4::f00:14;
 envelope-from=maximedevos@HIDDEN; helo=xavier.telenet-ops.be
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)


--=-a+2XXKO/xI0T8oFag4eT
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi guilers,

I would like to see fchownat, openat, fchmodat
and any *at variants I forgot to appear in future versions
of Guile in some form.  I have two proposals, which I will
illustrate with the procedure 'chmod':

* chmod can currently modify permissions of a file.
  This OBJECT argument identifying the file can currently
  be a filename or a port.  Allow a =E2=80=98file in a directory=E2=80=99
  object as well.  This could be created with a procedure

  (make-path-at DIRECTORY-PORT FILENAME)

  This procedure does not perform any I/O, but rather
  constructs what is effectively is a pair (DIRECTORY-PORT
  . FILENAME) but with its own type.

* Follow the C API, but with Scheme types.

  (chmodat DIRECTORY-PORT FILENAME MODE FLAGS)

  where FLAGS can include AT_SYMLINK_NOFOLLOW (from chmod(2)
  Linux man page)

Any thoughts?

Greetings,
Maxime

P.S. I'm not subscribed to bug-guile@HIDDEN, please CC me.

--=-a+2XXKO/xI0T8oFag4eT
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----

iI0EABYIADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYBllixccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7r2sAQDriygPto4bXe/ZxgEACkMFAttd
35gJUUlnJCVkbW0ARwEAqWTg0KBtxyiEcB34kf5J8zRTHGOUw4SmvkV/CP68DQA=
=G0JL
-----END PGP SIGNATURE-----

--=-a+2XXKO/xI0T8oFag4eT--





Acknowledgement sent to Maxime Devos <maximedevos@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guile@HIDDEN. Full text available.
Report forwarded to bug-guile@HIDDEN:
bug#46258; Package guile. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 2 Feb 2021 15:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.