From: Lars Ingebrigtsen <larsi@gnus.org>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 39284@debbugs.gnu.org, Tino Calancha <tino.calancha@gmail.com>
Subject: bug#39284: 27.0.60; wdired: change file permissions fails on tramp buffers
Date: Thu, 01 Oct 2020 23:35:51 +0200 [thread overview]
Message-ID: <87ft6xzl1k.fsf@gnus.org> (raw)
In-Reply-To: <87d0al7ay8.fsf@gmx.de> (Michael Albinus's message of "Tue, 11 Feb 2020 10:03:11 +0100")
Michael Albinus <michael.albinus@gmx.de> writes:
>> 1) Assuming Bug#39280 is fixed, we just need to change 1 line ...:
>>
>> 2) ... Or replace the call to the external chmod with built-in
>> `set-file-modes'
>> (this is what `dired-do-chmod' does):
>
> I recommend alternative 2. Tramp has different implementations of
> `set-file-modes', and not all of them are based on the "chmod" command.
This wasn't applied at the time, so I did that now. This was a bit odd,
though:
+ (string-to-number (int-to-string (wdired-perms-to-number perms-new)) 8))
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
prev parent reply other threads:[~2020-10-01 21:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-25 21:45 bug#39284: 27.0.60; wdired: change file permissions fails on tramp buffers Tino Calancha
2020-02-11 9:03 ` Michael Albinus
2020-10-01 21:35 ` Lars Ingebrigtsen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ft6xzl1k.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=39284@debbugs.gnu.org \
--cc=michael.albinus@gmx.de \
--cc=tino.calancha@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).