From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.bugs Subject: bug#28875: 25.3.50; set-default-file-modes ignores execution bits Date: Fri, 27 Oct 2017 23:02:28 +0900 Message-ID: References: <87vajd2a1v.fsf@gmail.com> <878tg6ecpx.fsf@gmail.com> <83vajacmsp.fsf@gnu.org> <83tvyuciro.fsf@gnu.org> <0a5e94fd-6c38-b022-5219-449f5e90c261@gmail.com> <83bmks7l1p.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1509113010 13022 195.159.176.226 (27 Oct 2017 14:03:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 27 Oct 2017 14:03:30 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 To: Eli Zaretskii , 28875@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 27 16:03:18 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e85E4-0001DY-Gk for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Oct 2017 16:03:08 +0200 Original-Received: from localhost ([::1]:57461 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e85EA-0001jP-Dm for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Oct 2017 10:03:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57574) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e85E1-0001hs-Pe for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2017 10:03:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e85Dy-0007Zw-Lf for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2017 10:03:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57003) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e85Dy-0007Zm-Hj for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2017 10:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e85Dy-0001l6-AV for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2017 10:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Oct 2017 14:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28875 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28875-submit@debbugs.gnu.org id=B28875.15091129596725 (code B ref 28875); Fri, 27 Oct 2017 14:03:02 +0000 Original-Received: (at 28875) by debbugs.gnu.org; 27 Oct 2017 14:02:39 +0000 Original-Received: from localhost ([127.0.0.1]:37451 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e85Db-0001kP-Hn for submit@debbugs.gnu.org; Fri, 27 Oct 2017 10:02:39 -0400 Original-Received: from mail-wm0-f43.google.com ([74.125.82.43]:56988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e85Da-0001kC-1F for 28875@debbugs.gnu.org; Fri, 27 Oct 2017 10:02:38 -0400 Original-Received: by mail-wm0-f43.google.com with SMTP id z3so4010378wme.5 for <28875@debbugs.gnu.org>; Fri, 27 Oct 2017 07:02:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=ifsJYXywQMsmN0pHKzGoVTa7rXve0BvyeXmA8OODAjg=; b=d984TMfLUT6wxW/MYgw9YhxYSkpfnt//rmd4TZulVUpWZm7Lb9Flx6dEaj1jYkhiAg 0V67gHZJpE1Vur2gZ9XNYTgcRSIirHmsJ8V2BqlxuxnsTLDnhqO8k9pD1zDGL6tJ4AHH hPo20+5U0rFM3rBuykeyXygVfRpDbvedYaOdPjiYYdCJ+wUPW5SKsDCiBeN4bzrf8h0G yK9VVMEKjHRk0JX6D6YpsEjA7RaCxeAPwboW3tgxhIydhg+WZhRTE65gy0U91b9RLuX+ agTw3BlrspjDmq029k9ERZQWPpphgMKoDDp41WrxnfEUwhEZ3rlwwy1PBFziyLQR0rj6 M7+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=ifsJYXywQMsmN0pHKzGoVTa7rXve0BvyeXmA8OODAjg=; b=CfJrTfPAUbTLXTcaKPnlg8rc8Lux9YeWpdcQyWRUaK3npcA8b5MZva8e9Ycf26wqkt Fk6RWf5mLlih4QBZoEwHzPXol+Sh2Qs5MK6rL7xh5d50pG4XSzIAnIPg969lZM+FXINs IypeuUOUXBDRkQRnrfE8LQxSH7t1qf0uTXdAlkXoFzOWDjv1hp99Efp/CIOJFlwJXZth h5Pr+uPpHYLxDPLlNTY60OnDQmmxMOrWLikTtNCZu+35FnbsUDhy5UlV/DL1r/9iGUZu ra9oZ/vgC80pj+zqMUX9jxM6Y8PankhZll95o1uz1yTmm+PkPqhvi/kgCZVlEr5IXfYi 0qRQ== X-Gm-Message-State: AMCzsaVRvjHb/9GlXdq5riISEZaq7alXKbj2ShEL6+6mnD0Vv6QdjEqi FIRamBcCgwFrxkqpJQ9WnW3ShgLn X-Google-Smtp-Source: ABhQp+SdASTLJPjwMFpsKEC5I6N5QRvTXraALNyiPqdBJzCphOKVOY/wgUK9btPBTZ5xiupuJW7clg== X-Received: by 10.28.139.72 with SMTP id n69mr580823wmd.29.1509112951837; Fri, 27 Oct 2017 07:02:31 -0700 (PDT) Original-Received: from [192.168.1.35] (44.red-79-159-65.dynamicip.rima-tde.net. [79.159.65.44]) by smtp.gmail.com with ESMTPSA id 2sm5169881wrq.83.2017.10.27.07.02.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 07:02:30 -0700 (PDT) In-Reply-To: <83bmks7l1p.fsf@gnu.org> Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:139076 Archived-At: On 10/27/2017 10:54 PM, Eli Zaretskii wrote: >> From: Tino Calancha >> Date: Fri, 20 Oct 2017 18:37:11 +0900 >> >>> I think you are missing what Andreas points out: that >>> set-default-file-modes works via 'umask', which can only remove bits >>> from the default permissions, it cannot add bits. I'm okay with >>> describing this in more details, for those might not be aware of how >>> 'umask' works. That would be a different text, though, not the one >>> you suggested. >> You are right I don't know much about umask. >> Probably most of the people using set-default-file-modes > OK, I added some text to the docs to clarify this. Thank you, it looks more clear to me know. There is a duplicated word: +This function works by setting the Emacs's file mode creation mask. +Each bit that is set in the mask means that the corresponding bit +in the the permissions of newly created files will be disabled.        ^^^^