aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1996-06-07 14:57:04 +0000
committerRichard M. Stallman1996-06-07 14:57:04 +0000
commit6702f50da61233455f3b3bee2e734d72faf5935e (patch)
treee244d700b9c4dfe7d951f5768b4f8fb057298f84
parent6238bfaf9cc5ba1870e3916b996c7c78bcec8340 (diff)
downloademacs-6702f50da61233455f3b3bee2e734d72faf5935e.tar.gz
emacs-6702f50da61233455f3b3bee2e734d72faf5935e.zip
(dired-chown-program): Try /usr/sbin/chown.
-rw-r--r--lisp/dired.el5
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
49;;;###autoload 49;;;###autoload
50(defvar dired-chown-program 50(defvar dired-chown-program
51 (if (memq system-type '(hpux dgux usg-unix-v irix linux lignux)) 51 (if (memq system-type '(hpux dgux usg-unix-v irix linux lignux))
52 "chown" "/etc/chown") 52 "chown"
53 (if (file-exists-p "/usr/sbin/chown")
54 "/usr/sbin/chown"
55 "/etc/chown"))
53 "Name of chown command (usually `chown' or `/etc/chown').") 56 "Name of chown command (usually `chown' or `/etc/chown').")
54 57
55(defvar dired-chmod-program 58(defvar dired-chmod-program