all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ian Eure <ian@digg.com>
To: help-gnu-emacs@gnu.org
Subject: Weird tramp scp permissions issue with
Date: Fri, 7 Nov 2008 09:30:57 -0800	[thread overview]
Message-ID: <8C288EF2-E676-4224-9202-37A88D9B60A3@digg.com> (raw)

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?

  - Ian




             reply	other threads:[~2008-11-07 17:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-07 17:30 Ian Eure [this message]
2008-11-08 20:43 ` Weird tramp scp permissions issue with Kevin Rodgers
2008-11-08 21:05   ` Ian Eure
2008-11-16 18:59 ` Michael Albinus
2008-11-16 19:07   ` Ian Eure
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=8C288EF2-E676-4224-9202-37A88D9B60A3@digg.com \
    --to=ian@digg.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.