Hi Michael,

> On 7. Jan 2024, at 13:57, Michael Albinus <michael.albi...@gmx.de> wrote:
> 
>> I can easy reproduce this error by remove write access to /tmp folder on 
>> remote host like that:
>> 
>> ssh some.host sudo chmod -w /tmp
> 
> Which kind of remote machine do you use? I cannot apply this, neither on
> a remote Ubuntu, a remote Fedora, or a remote FreeBSD machine:
> 
> --8<---------------cut here---------------start------------->8---
> # ssh -t -t ubuntu-2204 sudo chmod -w /tmp
> [sudo] password for admin:
> chmod: /tmp: new permissions are r-xrwxrwt, not r-xr-xr-t
> Connection to ubuntu-2204.fritz.box closed.
> --8<---------------cut here---------------end--------------->8---


I've achieved that on OpenBSD where I've switched /tmp to ramdisk.

It uses so-called mfs driver which inherits permissions from the mountpoint.

See: https://dataswamp.org/~solene/2018-05-08-mfs-tmp.html 
<https://dataswamp.org/~solene/2018-05-08-mfs-tmp.html>
--
wbr, Kirill

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to