Advertisement
Wurfkreuz

eshell backtrace

Apr 16th, 2024
1,241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 6.89 KB | None | 0 0
  1. Debugger entered--Lisp error: (permission-denied "Removing old name Permission denied /etc/testfile1")
  2.   tramp-signal-hook-function(permission-denied ("Removing old name" "Permission denied" "/etc/testfile1"))
  3.   signal(permission-denied ("Removing old name" "Permission denied" "/etc/testfile1"))
  4.   tramp-do-copy-or-rename-file(rename #("/sudo:root@archlinux:/etc/testfile1" 6 10 (tramp-default t) 11 20 (tramp-default t)) "/home/wurfkreuz/.local/share/trash/testfile1.~1~" nil keep-time preserve-uid-gid)
  5.   tramp-sh-handle-rename-file(#("/sudo:root@archlinux:/etc/testfile1" 6 10 (tramp-default t) 11 20 (tramp-default t)) "/home/wurfkreuz/.local/share/trash/testfile1.~1~" nil)
  6.   tramp-sh-file-name-handler(rename-file #("/sudo:root@archlinux:/etc/testfile1" 6 10 (tramp-default t) 11 20 (tramp-default t)) "/home/wurfkreuz/.local/share/trash/testfile1.~1~" nil)
  7.   apply(tramp-sh-file-name-handler rename-file (#("/sudo:root@archlinux:/etc/testfile1" 6 10 (tramp-default t) 11 20 (tramp-default t)) "/home/wurfkreuz/.local/share/trash/testfile1.~1~" nil))
  8.   tramp-file-name-handler(rename-file #("/sudo:root@archlinux:/etc/testfile1" 6 10 (tramp-default t) 11 20 (tramp-default t)) "/home/wurfkreuz/.local/share/trash/testfile1.~1~" nil)
  9.   rename-file(#("/sudo:root@archlinux:/etc/testfile1" 6 10 (tramp-default t) 11 20 (tramp-default t)) "/home/wurfkreuz/.local/share/trash/testfile1.~1~")
  10.   move-file-to-trash(#("/sudo:root@archlinux:/etc/testfile1" 6 10 (tramp-default t) 11 20 (tramp-default t)))
  11.   tramp-sh-handle-delete-file(#("/sudo:root@archlinux:/etc/testfile1" 6 10 (tramp-default t) 11 20 (tramp-default t)) t)
  12.   tramp-sh-file-name-handler(delete-file #("/sudo:root@archlinux:/etc/testfile1" 6 10 (tramp-default t) 11 20 (tramp-default t)) t)
  13.   apply(tramp-sh-file-name-handler delete-file (#("/sudo:root@archlinux:/etc/testfile1" 6 10 (tramp-default t) 11 20 (tramp-default t)) t))
  14.   tramp-file-name-handler(delete-file #("/sudo:root@archlinux:/etc/testfile1" 6 10 (tramp-default t) 11 20 (tramp-default t)) t)
  15.   #f(compiled-function (filename &optional trash) "Delete file named FILENAME.  If it is a symlink, remove the symlink.\nIf file has multiple names, it continues to exist with the other names.\nTRASH non-nil means to trash the file instead of deleting, provided\n`delete-by-moving-to-trash' is non-nil.\n\nWhen called interactively, TRASH is t if no prefix argument is given.\nWith a prefix argument, TRASH is nil." (interactive #f(compiled-function () #<bytecode 0x1bcf55e29dba65c4>)) #<bytecode 0x1a698f0b2d60>)("/sudo::/etc/testfile1" t)
  16.   apply(#f(compiled-function (filename &optional trash) "Delete file named FILENAME.  If it is a symlink, remove the symlink.\nIf file has multiple names, it continues to exist with the other names.\nTRASH non-nil means to trash the file instead of deleting, provided\n`delete-by-moving-to-trash' is non-nil.\n\nWhen called interactively, TRASH is t if no prefix argument is given.\nWith a prefix argument, TRASH is nil." (interactive #f(compiled-function () #<bytecode 0x1bcf55e29dba65c4>)) #<bytecode 0x1a698f0b2d60>) ("/sudo::/etc/testfile1" t))
  17.   delete-file("/sudo::/etc/testfile1" t)
  18.   apply(delete-file ("/sudo::/etc/testfile1" t))
  19.   eshell-exec-lisp(eshell-printn eshell-errorn delete-file ("/sudo::/etc/testfile1" t) nil)
  20.   eshell-remove-entries(("/sudo::/etc/testfile1") t)
  21.   eshell/rm("/sudo::/etc/testfile1")
  22.   apply(eshell/rm "/sudo::/etc/testfile1")
  23.   eshell-exec-lisp(eshell-print eshell-error eshell/rm ("/sudo::/etc/testfile1") nil)
  24.   eshell-lisp-command(eshell/rm ("/sudo::/etc/testfile1"))
  25.   eshell-plain-command("rm" ("/sudo::/etc/testfile1"))
  26.   eshell-named-command("rm" ("/sudo::/etc/testfile1"))
  27.   (unwind-protect (eshell-named-command "rm" (list "/sudo::/etc/testfile1")) (mapc #'funcall eshell-this-command-hook))
  28.   (let ((eshell-this-command-hook '(ignore))) (unwind-protect (eshell-named-command "rm" (list "/sudo::/etc/testfile1")) (mapc #'funcall eshell-this-command-hook)))
  29.   (condition-case err (let ((eshell-this-command-hook '(ignore))) (unwind-protect (eshell-named-command "rm" (list "/sudo::/etc/testfile1")) (mapc #'funcall eshell-this-command-hook))) ((debug error) (eshell-errorn (error-message-string err)) (eshell-close-handles 1)))
  30.   (condition-case-unless-debug err (let ((eshell-this-command-hook '(ignore))) (unwind-protect (eshell-named-command "rm" (list "/sudo::/etc/testfile1")) (mapc #'funcall eshell-this-command-hook))) (error (eshell-errorn (error-message-string err)) (eshell-close-handles 1)))
  31.   (if eshell-handle-errors (condition-case-unless-debug err (let ((eshell-this-command-hook '(ignore))) (unwind-protect (eshell-named-command "rm" (list "/sudo::/etc/testfile1")) (mapc #'funcall eshell-this-command-hook))) (error (eshell-errorn (error-message-string err)) (eshell-close-handles 1))) (let ((eshell-this-command-hook '(ignore))) (unwind-protect (eshell-named-command "rm" (list "/sudo::/etc/testfile1")) (mapc #'funcall eshell-this-command-hook))))
  32.   (eshell-condition-case err (let ((eshell-this-command-hook '(ignore))) (unwind-protect (eshell-named-command "rm" (list "/sudo::/etc/testfile1")) (mapc #'funcall eshell-this-command-hook))) (error (eshell-errorn (error-message-string err)) (eshell-close-handles 1)))
  33.   (eshell-trap-errors (eshell-named-command "rm" (list "/sudo::/etc/testfile1")))
  34.   (let ((eshell-current-handles (eshell-duplicate-handles eshell-current-handles t))) (eshell-trap-errors (eshell-named-command "rm" (list "/sudo::/etc/testfile1"))))
  35.   (eshell-with-copied-handles (eshell-trap-errors (eshell-named-command "rm" (list "/sudo::/etc/testfile1"))) t)
  36.   (progn (eshell-with-copied-handles (eshell-trap-errors (eshell-named-command "rm" (list "/sudo::/etc/testfile1"))) t))
  37.   (unwind-protect (progn (eshell-with-copied-handles (eshell-trap-errors (eshell-named-command "rm" (list "/sudo::/etc/testfile1"))) t)) (run-hooks 'eshell-post-command-hook))
  38.   (progn (run-hooks 'eshell-pre-command-hook) (unwind-protect (progn (eshell-with-copied-handles (eshell-trap-errors (eshell-named-command "rm" (list "/sudo::/etc/testfile1"))) t)) (run-hooks 'eshell-post-command-hook)))
  39.   (let ((eshell-current-handles (eshell-create-handles t 'append)) eshell-current-subjob-p) (progn (run-hooks 'eshell-pre-command-hook) (unwind-protect (progn (eshell-with-copied-handles (eshell-trap-errors (eshell-named-command "rm" (list "/sudo::/etc/testfile1"))) t)) (run-hooks 'eshell-post-command-hook))))
  40.   (eshell-commands (progn (run-hooks 'eshell-pre-command-hook) (unwind-protect (progn (eshell-with-copied-handles (eshell-trap-errors (eshell-named-command "rm" (list "/sudo::/etc/testfile1"))) t)) (run-hooks 'eshell-post-command-hook))))
  41.   eval((eshell-commands (progn (run-hooks 'eshell-pre-command-hook) (unwind-protect (progn (eshell-with-copied-handles (eshell-trap-errors (eshell-named-command "rm" ...)) t)) (run-hooks 'eshell-post-command-hook)))))
  42.   eshell-send-input(nil)
  43.   funcall-interactively(eshell-send-input nil)
  44.   command-execute(eshell-send-input)
  45.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement