X-Loop: help-debbugs@HIDDEN Subject: bug#46258: openat, chownat, ... in Guile? Resent-From: Maxime Devos <maximedevos@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guile@HIDDEN Resent-Date: Tue, 02 Feb 2021 14:47:01 +0000 Resent-Message-ID: <handler.46258.B.16122771655177 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 46258 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: 46258 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guile@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.16122771655177 (code B ref -1); Tue, 02 Feb 2021 14:47:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Feb 2021 14:46:05 +0000 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> From: Maxime Devos <maximedevos@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-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--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Maxime Devos <maximedevos@HIDDEN> Subject: bug#46258: Acknowledgement (openat, chownat, ... in Guile?) Message-ID: <handler.46258.B.16122771655177.ack <at> debbugs.gnu.org> References: <6c9d1a78a198d4b5111fe42af67eaeb241e507ae.camel@HIDDEN> X-Gnu-PR-Message: ack 46258 X-Gnu-PR-Package: guile Reply-To: 46258 <at> debbugs.gnu.org Date: Tue, 02 Feb 2021 14:47:01 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guile@HIDDEN If you wish to submit further information on this problem, please send it to 46258 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 46258: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D46258 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.