EFS 1.15 bug: efs changes permissions & ownership of files ?

Ronald Florence (ron@mlfarm.com)
Thu, 15 Oct 1998 15:25:40 -0400 (EDT)


Dear bug team:

This may not be a bug report, unless a bug is behavior the user
doesn't like.

I switched from ange-ftp to efs when I moved from emacs-19.34 to
xemacs.  Under ange-ftp, if I edited files on the local or remote
machines as root, the file permissions and ownership would be
preserved through the editing.  With efs, sometimes the file
permissions and ownership are preserved, and sometimes they are
changed to 0400 and root/staff.  I much prefer the ange-ftp behavior,
and would like to know how I can configure efs to respect and preserve 
permissions and ownership.  Thanks for your attention.


Ronald Florence                 Maple Lawn Farm, Stonington, CT
ron@mlfarm.com                  http://www.connix.com/~mlfarm




Emacs  : XEmacs 20.4 "Emerald" [Lucid] (sparc-sun-solaris2.6) of Sat Sep 26 1998 on rosie
Package: efs

efs believes that the host type of rosie is unix.

Contents of *ftp root@rosie*:
Please edit sensitive or irrelevant information.
================================================

open rosie
Connected to rosie.
220 rosie FTP server (SunOS 5.6) ready.
ftp> quote user "root"
331 Password required for root.
ftp> quote pass  Turtle Power!
230 User root logged in.
ftp> hash
Hash mark printing on (8192 bytes/hash mark).
ftp> type image
200 Type set to I.
ftp> get /usr/local/bin/fetchmail /tmp/efshCGG4_
200 PORT command successful.
150 Binary data connection for /usr/local/bin/fetchmail (192.101.32.1,40396) (1031 bytes).
226 Binary Transfer complete.
local: /tmp/efshCGG4_ remote: /usr/local/bin/fetchmail
1031 bytes received in 0.0021 seconds (472.03 Kbytes/s)
ftp> delete /usr/local/bin/fetchmail~
250 DELE command successful.
ftp> rename /usr/local/bin/fetchmail /usr/local/bin/fetchmail~
350 File exists, ready for destination name
250 RNTO command successful.
ftp> put /tmp/efshCGG4_ /usr/local/bin/fetchmail
200 PORT command successful.
150 Binary data connection for /usr/local/bin/fetchmail (192.101.32.1,40397).
226 Transfer complete.
local: /tmp/efshCGG4_ remote: /usr/local/bin/fetchmail
1004 bytes sent in 0.0015 seconds (661.14 Kbytes/s)
ftp> put /tmp/efshCGG4_ /usr/local/bin/fetchmail
200 PORT command successful.
150 Binary data connection for /usr/local/bin/fetchmail (192.101.32.1,40400).
226 Transfer complete.
local: /tmp/efshCGG4_ remote: /usr/local/bin/fetchmail
1003 bytes sent in 0.0014 seconds (700.14 Kbytes/s)
ftp> get /usr/local/bin/fetchmail /tmp/efshCGG4_
421 Timeout (900 seconds): closing control connection.


current state:
==============
(setq
 efs-cu-version "1.15/1.12"
 efs-defun-version "1.15/1.1"
 efs-dired-version "1.15/1.32"
 efs-dump-version "1.15/1.1"
 efs-fnh-version "1.15/1.3"
 efs-netrc-version "1.15/1.2"
 efs-ovwrt-version "1.15/1.2"
 efs-report-version "1.15/1.9"
 efs-version "1.15/1.56"
 efs-x19.15-version "1.15/1.2"
 efs-36-bit-binary-file-name-regexp nil
 efs-anonymous-umask nil
 efs-auto-save 0
 efs-auto-save-remotely nil
 efs-backup-by-copying nil
 efs-binary-file-host-regexp nil
 efs-binary-file-name-regexp "\\.\\([zZ]\\|t?gz\\|lzh\\|arc\\|zip\\|zoo\\|ta[rz]\\|dvi\\|sit\\|ps\\|elc\\|gif\\|Z-part-..\\|tpz\\|exe\\|[jm]pg\\|TZ[a-z]?\\|lib\\)\\(~\\|~[0-9]+~\\)?$\\|\\.\\(ARC\\|ELC\\|TAGS\\|EXE\\|ZIP\\|DVI|ZOO\\|GIF\\|T?GZ\\|[JM]PG\\)\\([.#;][0-9]+\\)?$"
 efs-buffer-name-case nil
 efs-compute-remote-buffer-file-truename nil
 efs-debug-ftp-connection nil
 efs-ding-on-chmod-failure t
 efs-ding-on-umask-failure t
 efs-disable-netrc-security-check nil
 efs-expire-ftp-buffers t
 efs-ftp-buffer-expire-time nil
 efs-ftp-program-args '("-i" "-n" "-g" "-v")
 efs-ftp-prompt-regexp "^\\(ftp\\|Ftp\\|FTP\\)> *"
 efs-gateway-ftp-prompt-regexp "^\\(ftp\\|Ftp\\|FTP\\)> *"
 efs-gateway-hash-mark-size nil
 efs-gateway-incoming-binary-hm-size nil
 efs-generate-anonymous-password t
 efs-hash-mark-size 1024
 efs-high-security-hosts nil
 efs-incoming-binary-hm-size nil
 efs-local-apollo-unix nil
 efs-ls-cache-max 5
 efs-make-backup-files '(unix sysV-unix bsd-unix next-unix apollo-unix
			 dumb-unix dumb-apollo-unix super-dumb-unix)
 efs-max-ftp-buffer-size 3000
 efs-maximize-idle nil
 efs-message-interval 0
 efs-nlist-cmd "ls"
 efs-nslookup-on-connect nil
 efs-nslookup-program "nslookup"
 efs-prompt-for-transfer-type nil
 efs-pty-check-retry-time 5
 efs-pty-check-threshold 1000
 efs-retry-time 5
 efs-root-umask nil
 efs-send-hash t
 efs-set-modtimes-synchronously nil
 efs-short-circuit-to-remote-root nil
 efs-suppress-abort-recursive-edit-and-then nil
 efs-text-file-name-regexp ".*"
 efs-treat-crlf-as-nl nil
 efs-umask nil
 efs-use-passive-mode nil
 efs-verbose t
 efs-verify-anonymous-modtime nil
 efs-verify-modtime-host-regexp ".*"
 efs-ftp-program-name "ftp"
 efs-ftp-program-args '("-i" "-n" "-g" "-v")
 efs-local-host-regexp ".*"
 efs-ftp-local-host-regexp ".*"
 efs-gateway-host nil
 efs-gateway-type nil
 reporter-version "3.2"
 features '(reporter efs-report skeleton sh-script executable
	    postscript
	    ispell vm-save cperl-mode compile nnspool gnus-msg diff
	    view-less
	    view man psgml-dtd psgml-parse psgml-edit tempo
	    psgml-xemacs
	    sgml-mode psgml mail-extr sort gnus-async gnus-score
	    gnus-art
	    browse-url gnus-sum gnus-cache gnus-group gnus-undo nnmail
	    nntp
	    nnoo gnus-start gnus-range gnus-spec gnus-int gnus-win
	    gnus
	    gnus-ems gnus-xmas gnus-util message messagexmas timezone
	    nnheader
	    nnheaderxm rmail tm-view tm-text tm-parse tm-ew-d tm-def
	    mel std11
	    tl-misc tl-str tl-atype atype tl-seq tl-list alist cless
	    file-detect path-util emu emu-e19 emu-xemacs overlay
	    mailheader
	    gnus-load mail-utils vm-digest mail-abbrevs sendmail
	    vm-reply
	    vm-sort vm-undo efs-dired dired-faces dired-xemacs dired
	    comint-xemacs efs-x19\.15 efs-fnh passwd efs-ovwrt efs-cu
	    efs-netrc efs-defun efs efs-dump tcl comint ring
	    vm-virtual
	    vm-delete highlight-headers vm-summary vm-mime vm-page
	    vm-message
	    vm-minibuf vm-motion tapestry vm-folder vc-hooks vm-menu
	    vm-mouse
	    vm-misc vm-window uncompress time vm-autoload vm-version
	    vm
	    vm-vars vm-startup disp-table cus-face iso-cvt tex-site
	    local-faces font-lock x11-autoloads w3-autoloads
	    vm-autoloads
	    viper-autoloads vc-autoloads utils-autoloads tm-autoloads
	    tl-autoloads rmail-autoloads psgml-autoloads
	    prim-autoloads
	    pcl-cvs-autoloads packages-autoloads modes-autoloads
	    mh-e-autoloads mel-autoloads mailcrypt-autoloads
	    iso-autoloads
	    hm--html-menus-autoloads gnus-autoloads gnats-autoloads
	    games-autoloads eterm-autoloads emulators-autoloads
	    electric-autoloads efs-autoloads ediff-autoloads
	    edebug-autoloads
	    custom-autoloads comint-autoloads cc-mode-autoloads
	    calendar-autoloads bytecomp-autoloads auctex-autoloads
	    apel-autoloads auto-show fontl-hooks ediff-hook
	    x-iso8859-1
	    x-menubar mouse mode-motion itimer lisp-mode easymenu
	    iso8859-1
	    page buff-menu lib-complete help-nomule derived frame
	    text-props
	    cus-start custom widget cl-autoloads cl-extra mini-cl cl
	    cl-19
	    packages backquote tooltalk lucid-scrollbars cut-buffer
	    lucid-menubars xface xpm gif jpeg motif-dialogs x
	    tty-frames tty
	    toolbar native-sound scrollbar network-streams
	    subprocesses
	    menubar dbm md5 xemacs cde lisp-float-type usg-unix-v
	    dialog
	    window-system c-balloon-help)
 )