From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#70973: 29.1; "Unlocking file: Invalid argument" Warning saving via a softlink with stale file lock Date: Thu, 16 May 2024 19:09:52 +0300 Message-ID: <868r09ivqn.fsf@gnu.org> References: <867cfujge6.fsf@gnu.org> <86fruhiwt0.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33874"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70973@debbugs.gnu.org To: Duncan Greatwood Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 16 18:11:39 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s7dhi-0008df-OK for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 May 2024 18:11:38 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s7dhA-0007Vu-OL; Thu, 16 May 2024 12:11:04 -0400 Original-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 ) id 1s7dh7-0007VS-KD for bug-gnu-emacs@gnu.org; Thu, 16 May 2024 12:11:02 -0400 Original-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 ) id 1s7dh5-0000RS-UI for bug-gnu-emacs@gnu.org; Thu, 16 May 2024 12:11:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s7dh8-0000Je-5j for bug-gnu-emacs@gnu.org; Thu, 16 May 2024 12:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 May 2024 16:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70973 X-GNU-PR-Package: emacs Original-Received: via spool by 70973-submit@debbugs.gnu.org id=B70973.17158758131174 (code B ref 70973); Thu, 16 May 2024 16:11:02 +0000 Original-Received: (at 70973) by debbugs.gnu.org; 16 May 2024 16:10:13 +0000 Original-Received: from localhost ([127.0.0.1]:49574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7dgD-0000Io-Tv for submit@debbugs.gnu.org; Thu, 16 May 2024 12:10:12 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7dgB-0000IJ-U6 for 70973@debbugs.gnu.org; Thu, 16 May 2024 12:10:04 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s7dg4-0000Cv-7t; Thu, 16 May 2024 12:09:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=1u94Bq/KAakinG8WxX0qkdsR82jxrDLsvO8CKsLw1aE=; b=Dc8Kt57BFWgW +xWYTIjUnWBywPgMRyCRcWvdn/iOx6CCNZKfj62o3L17vyVm9ryy4h7t17jrG/RxGHubwynzSjT6/ E8PAvwiE+sZ3cNUxL+5MutAyTkV2RLfM0T0OwjU4myTvk3pns7NUwuxuuZFLctpHkbvCQWThMMeHZ UF3+0sNB5OJhc2jLKADxjpPhMlZ7ahgKQECPgqs1+C7HjUE8zXEDljzsQUeJ3ZLXwNWEyRpdNfBqb lN7m7Zt12MsZuJrhWEMu5mXiLxOtvvauuQIZhQhM4v9wBuEu7ecTqXddvrXIET/nhQHuZ9JWQUD6V C0w2CX4VSoGwnb7KPBn3Zw==; In-Reply-To: (message from Duncan Greatwood on Thu, 16 May 2024 08:55:17 -0700) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:285169 Archived-At: > From: Duncan Greatwood > Date: Thu, 16 May 2024 08:55:17 -0700 > Cc: 70973@debbugs.gnu.org > > > I thought "ls -l" will show the target of > > the symlink, but maybe it doesn't on macOS? > It does indeed do that, even on macOS > > However, it is the .emacs that is a symlink. > > $ ls -l ~/.emacs > lrwxr-xr-x 1 username staff 59 Dec 6 2015 .emacs -> > /Users/username/Dropbox/Documents/Projects/emacs/dotemacs > > The lock file is not a link. Is that normal on macOS? Or is that something specific to DropBox? If you edit a file elsewhere on your system, does Emacs create lock files that are symlinks?