Subject: Re: bug#9879: 23.3; making script executable with tramp

From: Daniel Gildea <[email-masked]>
Date: Sun, 13 Nov 2011 09:15:39 -0500

On Nov 13, 2011, at 5:42 AM, Michael Albinus wrote:

> Dan, could you, please, set tramp-verbose to 9 and rerun the test? There
> will be a debug buffer, which you could show us for analysis.

Here is what I get:

08:44:10.700102 tramp-get-connection-property (7) # stat \stat
08:44:10.700209 tramp-do-file-attributes-with-stat (5) # file attributes with stat: /u/gildea/xx.sh
08:44:10.700346 tramp-get-connection-property (7) # file-exists test -e
08:44:10.700474 tramp-get-connection-property (7) # test test
08:44:10.700590 tramp-get-connection-property (7) # stat \stat
08:44:10.700716 tramp-get-connection-property (7) # process-name nil
08:44:10.700835 tramp-get-connection-property (7) # process-name nil
08:44:10.700943 tramp-get-connection-property (7) # process-buffer nil
08:44:10.701080 tramp-get-connection-property (7) # last-cmd-time (20159 51626 636141)
08:44:10.701204 tramp-get-connection-property (7) # process-name nil
08:44:10.701335 tramp-get-connection-property (7) # remote-echo nil
08:44:10.701443 tramp-send-command (6) # ( (test -e /u/gildea/xx.sh || test -h /u/gildea/xx.sh) && \stat -c '(("%N") %h %u %g %Xe0 %Ye0 %Ze0 %se0 "%A" t %ie0 -1)' /u/gildea/xx.sh || echo nil) 2>/dev/null; echo tramp_exit_status $?
08:44:10.701553 tramp-get-connection-property (7) # process-name nil
08:44:10.701683 tramp-get-connection-property (7) # chunksize 0
08:44:10.701809 tramp-set-connection-property (7) # last-cmd-time (20159 51626 701746)
08:44:10.701924 tramp-get-connection-property (7) # process-buffer nil
08:44:10.702132 tramp-get-connection-property (7) # check-remote-echo nil
08:44:10.702257 tramp-get-connection-property (7) # check-remote-echo nil
08:44:10.769048 tramp-get-connection-property (7) # check-remote-echo nil
08:44:10.769183 tramp-get-connection-property (7) # check-remote-echo nil
08:44:10.769391 tramp-get-connection-property (7) # check-remote-echo nil
08:44:10.769513 tramp-get-connection-property (7) # check-remote-echo nil
08:44:10.769650 tramp-wait-for-regexp (6) # 
(("`/u/gildea/xx.sh'") 1 1255 103 1321191850e0 1321191850e0 1321191850e0 13e0 "-rw-r--r--" t 1409590e0 -1)
tramp_exit_status 0
///6c17ef10f19f5685b3493b84a4448f0c#$
08:44:10.769831 tramp-get-connection-property (7) # process-buffer nil
08:44:10.769969 tramp-get-connection-property (7) # process-buffer nil
08:44:10.770162 tramp-get-connection-property (7) # gid-integer 103
08:44:10.770339 tramp-set-file-property (8) # /u/gildea/xx.sh file-attributes-integer (nil 1 1255 103 (20159 51626) (20159 51626) (20159 51626) 13 -rw-r--r-- nil (21 . 33334) (-1 . 0))
08:44:10.770626 tramp-sh-handle-write-region (0) # Wrote /scpc:e15.cs.rochester.edu:/u/gildea/xx.sh
08:44:10.771659 tramp-get-file-property (8) # /u/gildea/xx.sh file-attributes-integer (nil 1 1255 103 (20159 51626) (20159 51626) (20159 51626) 13 -rw-r--r-- nil (21 . 33334) (-1 . 0))
08:44:10.772281 tramp-get-file-property (8) # /u/gildea/xx.sh file-truename undef
08:44:10.772404 tramp-sh-handle-file-truename (4) # Finding true name for `/scpc:e15.cs.rochester.edu:/u/gildea/xx.sh'
08:44:10.772512 tramp-get-connection-property (7) # readlink \readlink
08:44:10.772615 tramp-get-connection-property (7) # readlink \readlink
08:44:10.772748 tramp-get-connection-property (7) # process-name nil
08:44:10.772877 tramp-get-connection-property (7) # process-name nil
08:44:10.772995 tramp-get-connection-property (7) # process-buffer nil
08:44:10.773132 tramp-get-connection-property (7) # last-cmd-time (20159 51626 701746)
08:44:10.773256 tramp-get-connection-property (7) # process-name nil
08:44:10.773389 tramp-get-connection-property (7) # remote-echo nil
08:44:10.773494 tramp-send-command (6) # echo "\"`\readlink --canonicalize-missing /u/gildea/xx.sh`\"" 2>/dev/null; echo tramp_exit_status $?
08:44:10.773604 tramp-get-connection-property (7) # process-name nil
08:44:10.773736 tramp-get-connection-property (7) # chunksize 0
08:44:10.773863 tramp-set-connection-property (7) # last-cmd-time (20159 51626 773800)
08:44:10.773976 tramp-get-connection-property (7) # process-buffer nil
08:44:10.774170 tramp-get-connection-property (7) # check-remote-echo nil
08:44:10.774296 tramp-get-connection-property (7) # check-remote-echo nil
08:44:10.841034 tramp-get-connection-property (7) # check-remote-echo nil
08:44:10.841168 tramp-get-connection-property (7) # check-remote-echo nil
08:44:10.841385 tramp-get-connection-property (7) # check-remote-echo nil
08:44:10.841507 tramp-get-connection-property (7) # check-remote-echo nil
08:44:10.841642 tramp-wait-for-regexp (6) # 
"/home/vax7/u19/gildea/xx.sh"
tramp_exit_status 0
///6c17ef10f19f5685b3493b84a4448f0c#$
08:44:10.841827 tramp-get-connection-property (7) # process-buffer nil
08:44:10.854068 tramp-get-connection-property (7) # process-buffer nil
08:44:10.854256 tramp-sh-handle-file-truename (4) # True name of `/scpc:e15.cs.rochester.edu:/u/gildea/xx.sh' is `/home/vax7/u19/gildea/xx.sh'
08:44:10.854418 tramp-set-file-property (8) # /u/gildea/xx.sh file-truename /scpc:e15.cs.rochester.edu:/home/vax7/u19/gildea/xx.sh
08:44:10.854782 tramp-get-file-property (8) # /home/vax7/u19/gildea/xx.sh file-exists-p nil