all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Weird tramp scp permissions issue with
@ 2008-11-07 17:30 Ian Eure
  2008-11-08 20:43 ` Kevin Rodgers
  2008-11-16 18:59 ` Michael Albinus
  0 siblings, 2 replies; 8+ messages in thread
From: Ian Eure @ 2008-11-07 17:30 UTC (permalink / raw
  To: help-gnu-emacs

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




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

end of thread, other threads:[~2008-11-17  4:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2008-11-16 19:59     ` Michael Albinus
2008-11-16 20:57       ` ian
2008-11-17  4:50         ` Michael Albinus

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.