emacs-devel
[Top][All Lists]
Advanced

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

Re: Dired permission warning and marking such files


From: Juri Linkov
Subject: Re: Dired permission warning and marking such files
Date: Sat, 15 Mar 2008 19:09:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu)

> I have been following the recent discussion about the warning that
> Dired emits in the form of a font locked "w". I don't care much about
> the face really but something that struck me was that there doesn't
> seem to be any easy way to fix the "problem" that Dired warns about. I
> had to record a keyboard macro, searching for the specific pattern and
> marking those lines, and then I had to run this macro until all
> "warned" lines was marked. Then I could use M-! and do a `chmod' to
> fix the permissions.
>
> I would have expected to find some command to mark files with certain
> permissions under the Mark menu.
>
> What do others think?

You can load dired-x and type in dired:

M-( (string-match "\\(w....\\|w.\\)$" mode) RET
M go-w RET

Alternatively, you can set `wdired-allow-to-change-permissions' to
`advanced', and use `query-replace'.

-- 
Juri Linkov
http://www.jurta.org/emacs/




reply via email to

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