all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#38404: 27.0.50; deleting files with ~ on the end with tramp did not work
@ 2019-11-27 16:39 Jean Louis
  2019-11-28 12:00 ` Michael Albinus
  0 siblings, 1 reply; 7+ messages in thread
From: Jean Louis @ 2019-11-27 16:39 UTC (permalink / raw)
  To: 38404



Deleting file /etc/courier/aliases/20191810~ did not work inside of
Tramp, there was "permission denied". But other files could be
deleted. I was root at the time and I could delete any file. When I
entered with ssh to system as root I could delete the file. With Tramp
it did not work.


In GNU Emacs 27.0.50 (build 6, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2019-10-08 built on protected.rcdrun.com
Repository revision: 32a67a5cfbfb92a9f76a5caf1c4b84beffcb1d9e
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.11907000
System Description: Hyperbola GNU/Linux-libre

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Configured using:
 'configure --prefix=/package/text/emacs-2019-10-08 --with-modules
 --without-gpm --with-x-toolkit=lucid
 PKG_CONFIG_PATH=/home/data1/protected/GNUstep/Library/Libraries/pkgconfig:/usr/lib/pkgconfig'

Configured features:
XAW3D XPM JPEG TIFF GIF PNG RSVG SOUND DBUS GSETTINGS GLIB NOTIFY
INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM MODULES THREADS JSON PDUMPER
LCMS2 GMP

Important settings:
  value of $LC_ALL: de_DE.UTF-8
  value of $LANG: de_DE.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort hashcash mail-extr emacsbug message rmc puny dired
dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache
epa derived epg epg-config gnus-util rmail rmail-loaddefs
text-property-search time-date subr-x seq byte-opt gv bytecomp
byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote threads dbusbind inotify lcms2 dynamic-setting
system-font-setting font-render-setting x-toolkit x multi-tty
make-network-process emacs)

Memory information:
((conses 16 46090 5168)
 (symbols 48 6085 1)
 (strings 32 16350 1289)
 (string-bytes 1 523934)
 (vectors 16 9982)
 (vector-slots 8 129955 6542)
 (floats 8 24 22)
 (intervals 56 245 0)
 (buffers 1000 12))

-- 
Thanks,
Jean Louis





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#38404: 27.0.50; deleting files with ~ on the end with tramp did not work
  2019-11-27 16:39 bug#38404: 27.0.50; deleting files with ~ on the end with tramp did not work Jean Louis
@ 2019-11-28 12:00 ` Michael Albinus
  2019-11-28 12:08   ` Jean Louis
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Albinus @ 2019-11-28 12:00 UTC (permalink / raw)
  To: Jean Louis; +Cc: 38404

Jean Louis <bugs@gnu.support> writes:

Hi,

> Deleting file /etc/courier/aliases/20191810~ did not work inside of
> Tramp, there was "permission denied". But other files could be
> deleted. I was root at the time and I could delete any file. When I
> entered with ssh to system as root I could delete the file. With Tramp
> it did not work.

I cannot repoduce it:

--8<---------------cut here---------------start------------->8---
# sudo touch /etc/touch~
# sudo ls -l /etc/touch~
-rw-r--r-- 1 root root 0 Nov 28 12:54 /etc/touch~
# emacs -Q --batch --eval '(delete-file "/ssh:|sudo::/etc/touch~")'
Password for /sudo:root@host: ********
# sudo ls -l /etc/touch~
ls: cannot access '/etc/touch~': No such file or directory
--8<---------------cut here---------------end--------------->8---

Does the problem also happen for you if you start "emacs -Q"? If yes,
could you pls reproduce it step by step, and show those steps? Pls set
also tramp-verbose to 6, andd show the resulting Tramp debug buffer.

Best regards, Michael.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#38404: 27.0.50; deleting files with ~ on the end with tramp did not work
  2019-11-28 12:00 ` Michael Albinus
@ 2019-11-28 12:08   ` Jean Louis
  2019-11-28 12:10     ` Michael Albinus
  0 siblings, 1 reply; 7+ messages in thread
From: Jean Louis @ 2019-11-28 12:08 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 38404

I did it with ssh as root /ssh:root@example.com:/etc/some/file~

and I could not delete few files, even though permissions were 644

* Michael Albinus <michael.albinus@gmx.de> [2019-11-28 13:00]:
> Jean Louis <bugs@gnu.support> writes:
> 
> Hi,
> 
> > Deleting file /etc/courier/aliases/20191810~ did not work inside of
> > Tramp, there was "permission denied". But other files could be
> > deleted. I was root at the time and I could delete any file. When I
> > entered with ssh to system as root I could delete the file. With Tramp
> > it did not work.
> 
> I cannot repoduce it:
> 
> --8<---------------cut here---------------start------------->8---
> # sudo touch /etc/touch~
> # sudo ls -l /etc/touch~
> -rw-r--r-- 1 root root 0 Nov 28 12:54 /etc/touch~
> # emacs -Q --batch --eval '(delete-file "/ssh:|sudo::/etc/touch~")'
> Password for /sudo:root@host: ********
> # sudo ls -l /etc/touch~
> ls: cannot access '/etc/touch~': No such file or directory
> --8<---------------cut here---------------end--------------->8---
> 
> Does the problem also happen for you if you start "emacs -Q"? If yes,
> could you pls reproduce it step by step, and show those steps? Pls set
> also tramp-verbose to 6, andd show the resulting Tramp debug buffer.
> 
> Best regards, Michael.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#38404: 27.0.50; deleting files with ~ on the end with tramp did not work
  2019-11-28 12:08   ` Jean Louis
@ 2019-11-28 12:10     ` Michael Albinus
  2019-11-28 12:12       ` Jean Louis
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Albinus @ 2019-11-28 12:10 UTC (permalink / raw)
  To: Jean Louis; +Cc: 38404

Jean Louis <bugs@gnu.support> writes:

> I did it with ssh as root /ssh:root@example.com:/etc/some/file~
>
> and I could not delete few files, even though permissions were 644

This doesn't tell me anything, sorry. Pls show the debug buffer.

Best regards, Michael.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#38404: 27.0.50; deleting files with ~ on the end with tramp did not work
  2019-11-28 12:10     ` Michael Albinus
@ 2019-11-28 12:12       ` Jean Louis
  2019-11-28 12:17         ` Michael Albinus
  0 siblings, 1 reply; 7+ messages in thread
From: Jean Louis @ 2019-11-28 12:12 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 38404

* Michael Albinus <michael.albinus@gmx.de> [2019-11-28 13:10]:
> Jean Louis <bugs@gnu.support> writes:
> 
> > I did it with ssh as root /ssh:root@example.com:/etc/some/file~
> >
> > and I could not delete few files, even though permissions were 644
> 
> This doesn't tell me anything, sorry. Pls show the debug buffer.

How do I do that?





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#38404: 27.0.50; deleting files with ~ on the end with tramp did not work
  2019-11-28 12:12       ` Jean Louis
@ 2019-11-28 12:17         ` Michael Albinus
  2020-02-25 13:15           ` Michael Albinus
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Albinus @ 2019-11-28 12:17 UTC (permalink / raw)
  To: Jean Louis; +Cc: 38404

Jean Louis <bugs@gnu.support> writes:

> * Michael Albinus <michael.albinus@gmx.de> [2019-11-28 13:10]:
>> Jean Louis <bugs@gnu.support> writes:
>>
>> > I did it with ssh as root /ssh:root@example.com:/etc/some/file~
>> >
>> > and I could not delete few files, even though permissions were 644
>>
>> This doesn't tell me anything, sorry. Pls show the debug buffer.
>
> How do I do that?

RTFM :-)

In short:

- Apply (setq tramp-verbose 6)
- Rerun your test
- Send the resulting buffer *debug tramp/ssh root@host*, preferred as
  attachment

Best regards, Michael.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#38404: 27.0.50; deleting files with ~ on the end with tramp did not work
  2019-11-28 12:17         ` Michael Albinus
@ 2020-02-25 13:15           ` Michael Albinus
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Albinus @ 2020-02-25 13:15 UTC (permalink / raw)
  To: Jean Louis; +Cc: 38404

Michael Albinus <michael.albinus@gmx.de> writes:

>>> This doesn't tell me anything, sorry. Pls show the debug buffer.
>>
>> How do I do that?
>
> RTFM :-)
>
> In short:
>
> - Apply (setq tramp-verbose 6)
> - Rerun your test
> - Send the resulting buffer *debug tramp/ssh root@host*, preferred as
>   attachment

No answer for months. Well, w/o more information I must close the bug.

Best regards, Michael.





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-02-25 13:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-27 16:39 bug#38404: 27.0.50; deleting files with ~ on the end with tramp did not work Jean Louis
2019-11-28 12:00 ` Michael Albinus
2019-11-28 12:08   ` Jean Louis
2019-11-28 12:10     ` Michael Albinus
2019-11-28 12:12       ` Jean Louis
2019-11-28 12:17         ` Michael Albinus
2020-02-25 13:15           ` Michael Albinus

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.