emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master fails to build on FreeBSD when ACL support is on


From: Stefan Monnier
Subject: Re: master fails to build on FreeBSD when ACL support is on
Date: Sat, 20 Jan 2018 22:50:44 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> The problem occurs because (rename-file A B) signals an error if A has ACLs
> and B's file system does not support ACLs. This is because rename-file calls
> (copy-file A B nil t t t) and that last "t" tells copy-file to copy ACLs.

Talking about what happens when rename-file uses copy-file: shouldn't it
first copy-file to a temporary file near the destination and then
rename-file that temp file?  Otherwise the destination will temporarily
be in a "partially written" state, which is usually not what
`rename-file` callers want, right?


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]