tramp-devel
[Top][All Lists]
Advanced

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

Re: "Permission denied" from dired, but not from ido completion in tramp


From: Michael Albinus
Subject: Re: "Permission denied" from dired, but not from ido completion in tramp
Date: Sat, 15 Jun 2024 11:27:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Philipp Middendorf <pmidden@mailbox.org> writes:

> Hi Michael,

Hi Philipp,

> I see, thanks for the explanations! It's indeed curious that the usual
> user/group mechanism isn't used here. I will ask the people at DESY
> what's going on here in detail, but I heard some time ago that ACLs
> are being used, which seem to work in parallel to the usual Linux
> rights. Maybe tramp doesn't support this?

Tramp checks also ACLs and SELinux permissions, but only after the usual
UNIX permission tests. Maybe this must be tuned? Waiting for the answer
of your sysadmin.

> Is there a way to tell tramp to simply omit these permission checks?
> Do you know which purpose the checks serve? I mean, couldn't tramp
> just try to open files and then fail if the OS gives an error?

Try (defalias 'tramp-handle-file-accessible-directory-p 'always)
Untested.

> Cheers
> Philipp

Best regards, Michael.



reply via email to

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