AFAIK, there is nothing about the symlink that is macOS or DropBox specific. Again, ~/.emacs is a symlink to the file in the subfolder of ~/Dropbox. The lock file is not a symlink. Emacs does not create lock files that are symlinks AFAIK. On Thu, May 16, 2024 at 9:09 AM Eli Zaretskii wrote: > > 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? > -- NOTICE: This email and its attachments may contain privileged and confidential information, only for the viewing and use of the intended recipient. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, acting upon, or use of the information contained in this email and its attachments is strictly prohibited and that this email and its attachments must be immediately returned to the sender and deleted from your system. If you received this email erroneously, please notify the sender immediately.  Xage Security, Inc. and its affiliates will never request personal information (e.g., passwords, Social Security numbers) via email.  Report suspicious emails to security-alerts@xage.com