From: Michael Albinus <michael.albinus@gmx.de>
To: Ian Eure <ian@digg.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Weird tramp scp permissions issue with
Date: Sun, 16 Nov 2008 19:59:48 +0100 [thread overview]
Message-ID: <87bpwfqyxn.fsf@gmx.de> (raw)
In-Reply-To: <8C288EF2-E676-4224-9202-37A88D9B60A3@digg.com> (Ian Eure's message of "Fri, 7 Nov 2008 09:30:57 -0800")
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.
> - Ian
Best regards, Michael.
next prev parent reply other threads:[~2008-11-16 18:59 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 [this message]
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=87bpwfqyxn.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=help-gnu-emacs@gnu.org \
--cc=ian@digg.com \
/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.