From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: Tramp: creating new files with 0644 permissions rather than 0664? Date: Wed, 08 Jun 2016 11:20:35 -0400 Organization: A noiseless patient Spider Message-ID: References: NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1465399590 12182 80.91.229.3 (8 Jun 2016 15:26:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Jun 2016 15:26:30 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 08 17:26:15 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bAfMc-0008WV-As for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Jun 2016 17:25:50 +0200 Original-Received: from localhost ([::1]:57863 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAfMb-0001Ko-K6 for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Jun 2016 11:25:49 -0400 Original-Path: usenet.stanford.edu!goblin2!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!barmar.motzarella.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Injection-Info: barmar.motzarella.org; posting-host="2be9e9f5dd9af768b8861af71b85fc28"; logging-data="19648"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/vVATS2rZIgv1vmtAcoRNy" User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Cancel-Lock: sha1:mQQ0Zm4ws9B2CaRUd97T/1WCq4E= Original-Xref: usenet.stanford.edu gnu.emacs.help:218066 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:110374 Archived-At: In article , egarrulo 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 ***