unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Tramp problem with files under version control (subversion)
@ 2011-06-02  8:15 Stefan Vollmar
  2011-06-02 14:53 ` Michael Albinus
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Vollmar @ 2011-06-02  8:15 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 3676 bytes --]

Hello,

GNU Emacs 23.3.1 (Aquamacs)
Tramp-Version 2.1.20

accessing files on remote Linux systems works beautifully for me (thanks for the excellent tramp package!) - including handling of all version control-related issues (subversion). I have a near identical setup on a Solaris 10 box but here we experience problems under certain conditions: the problems are related to the login used with tramp and apparently have to do with version control (subversion). If I connect to the machine via tramp and start in a directory which does not contain files under version control, everything works fine. If, however, I encounter a directory that does, dired will show a listing but accessing files through dired will result in "Couldn't find exit status of `test -e somefile'", Tab-completion in the mini-buffer works, though. Opening a file via minibuffer will work (eventually) but display half a buffer of error message ending with "does not return a valid Lisp expression", these error messages vanish later. Maybe this is interesting: if I connect via tramp as a user who only has read-permissions for the files under version control, Emacs will (correctly) tell me "note: file is write protected" - but tramp works flawlessly. Both user configuration have a nearly identical .bash_profile which contains "export PS1="\h:\W> ", subversion works fine when used on the command line.

Re-running the session with
(setq tramp-debug-buffer t)
(setq tramp-verbose 10)
yields:

[...
/var/opt/webstack/apache2/2.2/htdocs/itdb/\{arch\}/\=tagging-method
/var/opt/webstack/apache2/2.2/htdocs/\{arch\}/\=tagging-method
/var/opt/webstack/apache2/2.2/\{arch\}/\=tagging-method
/var/opt/webstack/apache2/\{arch\}/\=tagging-method
/var/opt/webstack/\{arch\}/\=tagging-method
/var/opt/\{arch\}/\=tagging-method
/var/\{arch\}/\=tagging-method
/\{arch\}/\=tagging-method
EOF
' does not return a valid Lisp expression: `(
///76c8253e9353f6928649235eea5ab8cf#$'
09:46:24.979695 tramp-send-command-and-read (3) # Checking `vc-registered' for /ssh:patdbano@flamel-intern:/var/opt/webstack/apache2/2.2/htdocs/itdb/plugins/it_zutritt.php...done
09:46:29.975926 tramp-get-file-property (8) # /var/opt/webstack/apache2/2.2/htdocs/itdb/plugins/it_zutritt.php file-readable-p undef
09:46:29.976166 tramp-get-file-property (8) # /var/opt/webstack/apache2/2.2/htdocs/itdb/plugins/it_zutritt.php file-attributes-string nil
09:46:29.976359 tramp-get-connection-property (7) # uid-string nil
09:46:29.976543 tramp-get-connection-property (7) # gid-string other
09:46:29.976742 tramp-get-file-property (8) # /var/opt/webstack/apache2/2.2/htdocs/itdb/plugins/it_zutritt.php file-attributes-integer (nil 1 177 1 (19943 16081) (19942 22463) (19942 22463) 27896 -rw-r--r-- nil (4 . 31846) (-1 . 2))
09:46:29.976965 tramp-get-connection-property (7) # uid-integer nil
09:46:29.977149 tramp-get-connection-property (7) # gid-integer 1
09:46:29.977356 tramp-set-file-property (8) # /var/opt/webstack/apache2/2.2/htdocs/itdb/plugins/it_zutritt.php file-readable-p t
09:46:34.975899 tramp-get-file-property (8) # /var/opt/webstack/apache2/2.2/htdocs/itdb/plugins/it_zutritt.php file-readable-p t
09:46:44.975872 tramp-get-file-property (8) # /var/opt/webstack/apache2/2.2/htdocs/itdb/plugins/it_zutritt.php file-readable-p t

Many thanks for any help with this.
Warm regards,
 Stefan
-- 
Dr. Stefan Vollmar, Dipl.-Phys.
Head of IT group
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0160-93874279
Email: vollmar@nf.mpg.de   http://www.nf.mpg.de







[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4409 bytes --]

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

* Re: Tramp problem with files under version control (subversion)
  2011-06-02  8:15 Tramp problem with files under version control (subversion) Stefan Vollmar
@ 2011-06-02 14:53 ` Michael Albinus
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Albinus @ 2011-06-02 14:53 UTC (permalink / raw)
  To: Stefan Vollmar; +Cc: help-gnu-emacs

Stefan Vollmar <vollmar@nf.mpg.de> writes:

> Hello,

Hi,

> I have a near identical setup on a Solaris 10 box but here we
> experience problems under certain conditions

tramp.el has a lot of comments and workarounds for Solaris related
problems. 

Please look in tramp.el for "SunOS 5.11" and change it to
"SunOS 5.10". If the problem goes away, we might apply a weaker check at
this place.

Best regards, Michael.



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

end of thread, other threads:[~2011-06-02 14:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-02  8:15 Tramp problem with files under version control (subversion) Stefan Vollmar
2011-06-02 14:53 ` Michael Albinus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).