diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-06-07 14:57:04 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-06-07 14:57:04 +0000 |
commit | 389ad8ff4ab346a606b55ad18d289a996c8842c6 (patch) | |
tree | 332d4a5d5bd1706519381a539b66a2e84c70bf69 /lisp/dired.el | |
parent | 9682deed6b61af8d0c2979bb79d47f47604b0e35 (diff) | |
download | emacs-389ad8ff4ab346a606b55ad18d289a996c8842c6.tar.gz |
(dired-chown-program): Try /usr/sbin/chown.
Diffstat (limited to 'lisp/dired.el')
-rw-r--r-- | lisp/dired.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/dired.el b/lisp/dired.el index 76ce9e8d45d..65f8a4e6dee 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -49,7 +49,10 @@ may contain even `F', `b', `i' and `s'. See also the variable ;;;###autoload (defvar dired-chown-program (if (memq system-type '(hpux dgux usg-unix-v irix linux lignux)) - "chown" "/etc/chown") + "chown" + (if (file-exists-p "/usr/sbin/chown") + "/usr/sbin/chown" + "/etc/chown")) "Name of chown command (usually `chown' or `/etc/chown').") (defvar dired-chmod-program |