Re: error while changing file’s mode when saving f ile with ACL permissions

Tijs Mallaerts <[email protected]> Thu, 18 Apr 2024 09:19:36 +0200
Newsgroups gmane.emacs.tramp
Message-ID <CAA8HaRxvt7vidmojOMZhwS7ZTe42P=wUy2G5V3sTez1muD8wwA@mail.gmail.com>
Hi Michael,

Ok I see, a user option would be perfect in that case.

Thank you!
Tijs

Op do 18 apr 2024 om 09:17 schreef Michael Albinus <[email protected]>:

> Tijs Mallaerts <[email protected]> writes:
>
> > Hi Michael,
>
> Hi Tijs,
>
> > Would it be an idea to check first if the user can run the chmod
> > command before calling the tramp-sh-handle-set-file-modes function?
>
> Too much hassle, because this would be checked for everybody, with
> performance degradation.
>
> What about a user option, which (when non-nil) transforms the error into
> a warning?
>
> > Thank you,
> > Tijs
>
> Best regards, Michael.
>