Re: tramp (2.7.0-pre nil/nil); Can't connect to server anymore

"Kirill A. Korinsky" <[email protected]>
Newsgroups gmane.emacs.tramp
Message-ID <[email protected]>
Greetings,

> On 6. Jan 2024, at 15:38, Michael Albinus <[email protected]> wrote:
> 
> "Kirill A. Korinsky" <[email protected]> writes:
> 
>>>> Meanwhile I was able to localise the issue: permission to /tmp on server side.
>>>> As soon as I fixed it and my user may write into it, everything works fine.
>>> 
>>> Good to know there's no bug. Thanks for letting us know.
>> 
>> I really think that error message should be a bit more different that this one.
>> It was quite tricky to ping point the issue.
> 
> The error message came from somewhere else, it was a follow-up error. So
> it couldn't speak about the real problem.
> 
> But I don't understand yet how this could happen. Tramp has the function
> tramp-handle-temporary-file-directory, which returns a proper remote
> temporary directory, or nil if there isn't. And this includes the
> file-writable-p check. Hmm.
> 
> I'll dig further. First, I need a simple recipe for error reproduction.


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


--
wbr, Kirill
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE3/KLNtcfWfLw7JxqmNjZhndZIm4FAmWZZkgACgkQmNjZhndZ
Im492g/+J95DIRQ09EUJz2ZVlqJd6FFeqtLFjgAJKAvc9eeyLbEp4t0q4SzmeHRH
SvPf0MOaL0pcL7zjf7tsN+4gQRrZ+BgD6TMzQZNv8FZ82Swlxba+bHCy9p5RGaRn
OzNYRroH383OjluTOxRGE8QkGgqt9f4vW0eEJ0BIEfHMSJI9etjPFyFB4DXqw6X9
2yYZ7LdCYjWkqJ1s4P9PZhopJnIxjNtC65006DuZVoROfg0jhGARpG+RlUKao7F3
BWhZQsZkhlV1j6PVxD8ZaForRbn9YC2DtH0DySJhV5EI1ZhEkj095tpzMVmgtHoV
+0FT9DEGEepgMggKOcMkz91oGy05jINUq3peY4k1/4JIOBz0gQsGVZ9zsfRJMR3p
NC+7cpMZOe0SdEbVXhWrCkFbpsGXvAG+IDjub9XiG01nfPvILzsbJ0OuEwGoAbsy
0zya2JeCkzyqb78c9rMvgZzVLNkObB3v3SoBFGu32JWDIT6GKxdQXPxHWC2va/lQ
vb6QIb39YSBUeVYM4bkeWZrcw1dr9GtixMb9XZmlw9h8DiB/5qwfWNUKHQj4L3hl
fWmCnqveWsTp0ZnxQqu102DHRVmPHXXGxXw3KF5cNBjAaTKwS6yRweK1O3wrG19V
plrVdrsP+xizyhvkGsBZy66IBQdKTosbT6kS1v0vBpAKs67eQ80=
=Eh9g
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.