all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ian Eure <ian@digg.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Weird tramp scp permissions issue with
Date: Sun, 16 Nov 2008 11:07:44 -0800	[thread overview]
Message-ID: <DF241B83-B958-4110-BD85-367B028873F6@digg.com> (raw)
In-Reply-To: <87bpwfqyxn.fsf@gmx.de>

On Nov 16, 2008, at 10:59 AM, Michael Albinus wrote:

> Ian Eure <ian@digg.com> writes:
>
>> Any file I create on a remote host using tramp's scp method gets a
>> mode of 0600, rather than the 0644 I would like. If I use the  
>> (slower)
>> ssh method, the file gets the correct mode.
>>
>> What seems to be happening is that the local file gets created with
>> 0600, which is preserved when it's SCP'd over. Indeed, 'tramp-methods
>> shows that the `-p' argument is passed to scp, which does exactly
>> this.
>>
>> My umask is 0022 on both ends, which is correct. So tramp seems to be
>> creating the file with 0600 before it copies it.
>>
>> Does anyone know how I can fix this?
>
> Which Tramp version do you use? With Tramp 2.1.15-pre, which I have
> running, I see 0644 permissions for a new file with both ssh and scp
> methods.
>
I'm using whatever comes with Emacs 22.

I installed 2.1.14, and the problem went away. But it also broke vc- 
dired, and maybe other vc stuff:

Loading vc... [2 times]
byte-code: Recursive `require' for feature `tramp-compat'

The vc-mode stuff from Emacs 23 CVS doesn't work for me, either.

  - Ian




  reply	other threads:[~2008-11-16 19:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-07 17:30 Weird tramp scp permissions issue with Ian Eure
2008-11-08 20:43 ` Kevin Rodgers
2008-11-08 21:05   ` Ian Eure
2008-11-16 18:59 ` Michael Albinus
2008-11-16 19:07   ` Ian Eure [this message]
2008-11-16 19:59     ` Michael Albinus
2008-11-16 20:57       ` ian
2008-11-17  4:50         ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DF241B83-B958-4110-BD85-367B028873F6@digg.com \
    --to=ian@digg.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=michael.albinus@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.