Skip to content

Commit

Permalink
Move outside.
Browse files Browse the repository at this point in the history
  • Loading branch information
dkocher committed Aug 23, 2024
1 parent 74b4773 commit 1d9ba1d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions protocols/sftp/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1d9ba1d

Please sign in to comment.