From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#37884: 27.0.50; Cannot write to a file in VirtualBox shared directory Date: Sun, 27 Oct 2019 16:34:54 +0100 Message-ID: References: <87h83zeoy1.fsf@pobox.com> <87blu2emi3.fsf@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="73198"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 37884@debbugs.gnu.org To: Bernardo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 27 16:36:18 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iOkaV-000Ioi-8N for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Oct 2019 16:36:15 +0100 Original-Received: from localhost ([::1]:45716 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iOkaT-0002mi-VV for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Oct 2019 11:36:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40839) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iOkaN-0002lt-Jd for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2019 11:36:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iOkaL-0000qJ-Kz for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2019 11:36:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34585) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iOkaI-0000os-Ku for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2019 11:36:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iOkaI-0002rH-Gl for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2019 11:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Oct 2019 15:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37884 X-GNU-PR-Package: emacs Original-Received: via spool by 37884-submit@debbugs.gnu.org id=B37884.157219050510894 (code B ref 37884); Sun, 27 Oct 2019 15:36:02 +0000 Original-Received: (at 37884) by debbugs.gnu.org; 27 Oct 2019 15:35:05 +0000 Original-Received: from localhost ([127.0.0.1]:43403 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iOkZM-0002pe-WA for submit@debbugs.gnu.org; Sun, 27 Oct 2019 11:35:05 -0400 Original-Received: from mail-wr1-f54.google.com ([209.85.221.54]:37521) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iOkZL-0002p6-6K for 37884@debbugs.gnu.org; Sun, 27 Oct 2019 11:35:03 -0400 Original-Received: by mail-wr1-f54.google.com with SMTP id e11so7309514wrv.4 for <37884@debbugs.gnu.org>; Sun, 27 Oct 2019 08:35:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=etFuCWX/7UkQ40jZ7ad8+1cp/a2jvGXOjqhULLLkniw=; b=HSIteNEzt4WBqtjtCozVb543JjyQUHgQUTky0zZpKKvEE5pzg+jp0+rS1Dl5WSBn3a vm1SbDogOi1BiGYlWNHXzd5bmDLWcGicREvW29eG2YZ8+mPGDnF4eiHpKU9dk2inNtq9 XDcozo33CeVYTUla95qDbJfefU8VHC0PTGssAv12NuJqYsDWAYSYWjzj35HB5ZqDF5i2 csEwWdLKT6koYgVrrF7ekpog4BV1/6hvegX7t4DS6Xb8k5N+qyRgtrxz8Hoe4YpQUuKj iiOcoQNwTvH4t9p8VfxZsQl5TDZHILG7wHsmNJMT+LOw641UxukzEM3Q9aXlq5joz1ez SXhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=etFuCWX/7UkQ40jZ7ad8+1cp/a2jvGXOjqhULLLkniw=; b=l6d6ZXcc9XUM5HEcTsFKkkxFbn8aCOUvPAQCN1ax3nS+obkMWFnMJPyVzZ4cBizj/k EXOdXtWj+00GQZXcwXGCFJwKOiOllrgJ/zpuudUEqPxShSR2B4EhS/lb/vJGSqI8Kv5B IOVd1ZIrWGyRUFaabF+pv1bO5FI76RoRve/bPHEONh2r3ccX5qyfIrJNzxarRq4CZPpt jzQqm+I7nfwvIxWQ0I5v1yfYztR7cV7M2MkNga9cL5BuD0iBCf1G/80b3kpjMa4H/Rg5 6fp4zCADAB+TrBrrt+rUngwz9J2IXaNEGgtLUulpFpf1qG6oYL+g1KuyCqeCGJ3uGorx DMFQ== X-Gm-Message-State: APjAAAXJtRv6m8Aj0TUjc8fvMONc0s77w2UL3fdemVuDPag123LdjLnz Yqt4Q1z1dwVY5RFQt6ntrxHRq6tS X-Google-Smtp-Source: APXvYqzXDnkf9dqlFcmXU/MG5HZUz2hksI0eiYZxoKDZSwi+O7SSuBGuqMLrL76ypd+xPWxwaT5Xpw== X-Received: by 2002:a5d:5221:: with SMTP id i1mr10673293wra.297.1572190496407; Sun, 27 Oct 2019 08:34:56 -0700 (PDT) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:402:a949:d521:f754]) by smtp.gmail.com with ESMTPSA id a11sm9610532wmh.40.2019.10.27.08.34.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Oct 2019 08:34:55 -0700 (PDT) In-Reply-To: <87blu2emi3.fsf@pobox.com> (Bernardo's message of "Sun, 27 Oct 2019 17:22:12 +1100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:170253 Archived-At: Please keep 37884@debbugs.gnu.org in the CC >>>>> On Sun, 27 Oct 2019 17:22:12 +1100, Bernardo said: Bernardo> Hi Robert, Bernardo> apologies for the late response, i came down with a cold and = wasn't Bernardo> checking my email; No worries. Bernardo> i have a quick and dirty test along these lines (+ include he= aders) Bernardo> emulating what's happening when a lock is created/removed. Bernardo> ,---- Bernardo> | int main() Bernardo> | { Bernardo> | const char buff[] =3D "abc"; Bernardo> |=20 Bernardo> | int fd =3D open( "another_test", O_RDWR|O_CREAT|O_EXCL|O_C= LOEXEC, 0600); Bernardo> | write( fd , buff, 3 ); Bernardo> | fchmod( fd, 0444 ); Bernardo> | close( fd ); Bernardo> | unlink( "another_test" ); Bernardo> | return 0; Bernardo> | } Bernardo> `---- Bernardo> as you would expect works fine here (at home) on ext4 file sy= stem; Bernardo> will try this on work computer (most likely tomorrow) where V= irtualBox Bernardo> is installed, possibly tweak the file access flags and report= the Bernardo> results back; Thanks. I might have a VirtualBox instance lying around, but it=CA=BCs hosted on GNU/Linux, not Windows, so the behaviour is likely to be different. Bernardo> thanks for looking into this You=CA=BCre welcome. Eli, if the results come back that using 0664 or similar on lockfiles resolves this, would you be amenable to such a change? Robert