On 08/06/16 17:20, Barry Margolin wrote:
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.
Thanks for your suggestion. Indeed the user's umask is 0002, which
explains
the 0664 permissions. Can I change the umask from Tramp before
creating/saving files?