Variable: wdired-allow-to-change-permissions
wdired-allow-to-change-permissions is a customizable variable defined
in wdired.el.gz.
Value
nil
Documentation
If non-nil, the permissions bits of the files are editable.
If t, to change a single bit, put the cursor over it and press the space bar, or left click over it. You can also hit the letter you want to set: if this value is allowed, the character in the buffer will be changed. Anyway, the point is advanced one position, so, for example, you can keep the <x> key pressed to give execution permissions to everybody to that file.
If advanced, the bits are freely editable. You can use
string-rectangle, query-replace, etc. You can put any value (even
newlines), but if you want your changes to be useful, you better put a
intelligible value.
The real change of the permissions is done by the external program "chmod", which must exist.
Source Code
;; Defined in /usr/src/emacs/lisp/wdired.el.gz
(defcustom wdired-allow-to-change-permissions nil
"If non-nil, the permissions bits of the files are editable.
If t, to change a single bit, put the cursor over it and press the
space bar, or left click over it. You can also hit the letter you want
to set: if this value is allowed, the character in the buffer will be
changed. Anyway, the point is advanced one position, so, for example,
you can keep the <x> key pressed to give execution permissions to
everybody to that file.
If `advanced', the bits are freely editable. You can use
`string-rectangle', `query-replace', etc. You can put any value (even
newlines), but if you want your changes to be useful, you better put a
intelligible value.
The real change of the permissions is done by the external
program \"chmod\", which must exist."
:type '(choice (const :tag "Not allowed" nil)
(const :tag "Toggle/set bits" t)
(other :tag "Bits freely editable" advanced)))