unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Barry Margolin <barmar@alum.mit.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: Tramp: creating new files with 0644 permissions rather than 0664?
Date: Wed, 08 Jun 2016 11:20:35 -0400	[thread overview]
Message-ID: <barmar-56AA2B.11203508062016@88-209-239-213.giganet.hu> (raw)
In-Reply-To: drq6pqFb3dsU1@mid.individual.net

In article <drq6pqFb3dsU1@mid.individual.net>,
 egarrulo <egarrulo@gmail.com> wrote:

> When I create a file with C-x C-f (ido-find-file) in Tramp, Tramp 
> creates the file with 0664 permissions instead of 0644 permissions.
> 
> Here is the relevant configuration:
> 
> (setq tramp-default-user "myuser")
> (require 'tramp)
> 
> How can I make Tramp create new files with 0644 permissions?  Thanks.

It sounds like the target user's umask is different from your umask.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


  parent reply	other threads:[~2016-06-08 15:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-08  9:28 Tramp: creating new files with 0644 permissions rather than 0664? egarrulo
2016-06-08  9:32 ` egarrulo
2016-06-08 15:20 ` Barry Margolin [this message]
2016-06-08 19:37   ` Tramp: changing umask? egarrulo
2016-06-08 20:33     ` Barry Margolin
2016-06-08 21:55     ` egarrulo
2016-06-08 22:21       ` Nick Dokos
     [not found]       ` <mailman.1173.1465424514.1216.help-gnu-emacs@gnu.org>
2016-06-08 22:44         ` egarrulo
2016-06-09  6:43           ` Michael Albinus
     [not found]           ` <mailman.1187.1465454639.1216.help-gnu-emacs@gnu.org>
2016-06-09  8:47             ` egarrulo

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=barmar-56AA2B.11203508062016@88-209-239-213.giganet.hu \
    --to=barmar@alum.mit.edu \
    --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.
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).