diff --git a/protocols/sftp/index.md b/protocols/sftp/index.md index ae720423..2bf045c9 100644 --- a/protocols/sftp/index.md +++ b/protocols/sftp/index.md @@ -438,17 +438,16 @@ Mountain Duck will forward all permission changes from Finder or any other appli #### File Owner Reset When Saving File -::::{admonition} macOS +:::{admonition} macOS :class: note Some editors save files using an *Atomic Save* feature that writes changes to a file to a temporary file later replacing the edited file by renaming the temporary file to the name of the edited file. This works well on local filesystems, where there is support to retain the owner of the file that is different from the editing user using a special [function call](https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man2/exchangedata.2.html). This does not work for volumes mounted with Mountain Duck and the file owner will be reset to the default owner for new files created on the server by the logged-in user. As a workaround, try to find a setting for the editor to disable the *Atomic Save* feature. +::: :::{seealso} - [TextMate Atomic Saving](https://github.com/textmate/textmate/blob/master/Applications/TextMate/about/Changes.md#atomic-saving) ::: -:::: - #### Free Space Calculation is Incorrect The available space for a volume mounted over SFTP is determined using quota features of the SSH protocol. Technically using the `space-available` extension of the SFTP protocol or the `statvfs@openssh.com` extension from OpenSSH. If the connected device returns an invalid value (e.g. from the disk the server is running instead of the data disk) you will get an incorrect calculation for the free space. You can work around the issue using one of the following options: