Mercurial > emacs
changeset 15348:8d78b06fbb46
(dired-chown-program): Try /usr/sbin/chown.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 07 Jun 1996 14:57:04 +0000 |
parents | 3885819ed860 |
children | fdc10603ac35 |
files | lisp/dired.el |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/dired.el Fri Jun 07 14:52:28 1996 +0000 +++ b/lisp/dired.el Fri Jun 07 14:57:04 1996 +0000 @@ -49,7 +49,10 @@ ;;;###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