mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Make wdired match dired with symlink permissions
* lisp/wdired.el (wdired-do-perm-changes): Do not follow symlinks, to be consistent with plain dired (bug#50189).
This commit is contained in:
parent
3062baf609
commit
d22aacd930
1 changed files with 2 additions and 1 deletions
|
|
@ -1024,7 +1024,8 @@ Like original function but it skips read-only words."
|
|||
(setq filename (wdired-get-filename nil t))
|
||||
(if (= (length perms-new) 10)
|
||||
(condition-case nil
|
||||
(set-file-modes filename (wdired-perms-to-number perms-new))
|
||||
(set-file-modes filename (wdired-perms-to-number perms-new)
|
||||
'nofollow)
|
||||
(error
|
||||
(setq errors (1+ errors))
|
||||
(dired-log "Setting mode of `%s' to `%s' failed\n\n"
|
||||
|
|
|
|||
Loading…
Reference in a new issue