| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org ACB4A3851C0C |
| DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
| s=default; t=1590653530; | |
| bh=JnIJQlN/uExPiFN5d3Dcjbe9pyi3htnq00MOyYtUIiw=; | |
| h=Date:To:In-Reply-To:Subject:List-Id:List-Unsubscribe:List-Archive: | |
| List-Post:List-Help:List-Subscribe:From:Reply-To:From; | |
| b=dxzHXjf6/ddU7xQDaIAOsoX3FYGivvdSES72j4j0E3wFf39spYMZQOt6boSl7EulM | |
| iGi16pozR1+jq2M4XzgSuk4RDdpzSTEkODY9g/nCtSZxsqC1i+5eZ8hLou3T8ENhex | |
| HKW5Hk8KlM1g1S5ERt9SlFVZq67aU86hVu4xtC1I= | |
| X-Original-To: | cygwin AT cygwin DOT com |
| Delivered-To: | cygwin AT cygwin DOT com |
| DMARC-Filter: | OpenDMARC Filter v1.3.2 sourceware.org 208A83851C0C |
| DKIM-Filter: | OpenDKIM Filter v2.9.2 office.targem.ru DCC9A4F81A23 |
| Date: | Thu, 28 May 2020 14:12:03 +0600 (YEKT) |
| To: | cygwin AT cygwin DOT com |
| Message-ID: | <1562427636.19173685.1590653523730.JavaMail.zimbra@office.targem.ru> |
| In-Reply-To: | <1895966314.19173483.1590653374238.JavaMail.zimbra@office.targem.ru> |
| Subject: | Seems like a bug with mkfifo -m |
| MIME-Version: | 1.0 |
| X-Originating-IP: | [192.168.20.207] |
| X-Mailer: | Zimbra 8.0.8_GA_6184 (ZimbraWebClient - GC81 (Win)/8.0.8_GA_6184) |
| Thread-Topic: | Seems like a bug with mkfifo -m |
| Thread-Index: | ErYCCNzHawmDWiaEmtaA9GoIvS1BrQ== |
| X-Spam-Status: | No, score=0.7 required=5.0 tests=BAYES_50, DKIM_SIGNED, |
| DKIM_VALID, DKIM_VALID_AU, SPF_HELO_PASS, | |
| SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 | |
| X-Spam-Checker-Version: | SpamAssassin 3.4.2 (2018-09-13) on |
| server2.sourceware.org | |
| X-BeenThere: | cygwin AT cygwin DOT com |
| X-Mailman-Version: | 2.1.29 |
| List-Id: | General Cygwin discussions and problem reports <cygwin.cygwin.com> |
| List-Unsubscribe: | <http://cygwin.com/mailman/options/cygwin>, |
| <mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe> | |
| List-Archive: | <https://cygwin.com/pipermail/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help> |
| List-Subscribe: | <http://cygwin.com/mailman/listinfo/cygwin>, |
| <mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
| From: | =?utf-8?b?0JTQvNC40YLRgNC40Lkg0JXRgdCw0YDQtdCyIHZpYSBDeWd3aW4=?= |
| <cygwin AT cygwin DOT com> | |
| Reply-To: | =?utf-8?B?0JTQvNC40YLRgNC40Lkg0JXRgdCw0YDQtdCy?= |
| <ed AT office DOT targem DOT ru> | |
| Errors-To: | cygwin-bounces AT cygwin DOT com |
| Sender: | "Cygwin" <cygwin-bounces AT cygwin DOT com> |
Hi, all When i ran cygwin 2.x, i used mkfifo -m 0600 file to create a named pipe with no user and group permissions. in the latest cygwin the above command creates device with 0644 permissions. And i cant drop it to 0600: cygcheck.exe -V cygcheck (cygwin) 3.1.4 $ umask 0077 $ touch somefile; ls -l somefile -rw------- 1 admin absent 0 may 26 18:15 somefile $ mkfifo -m 0600 somefifo; ls -l somefifo prw-r--r-- 1 admin absent 0 may 26 18:16 somefifo $ chmod 600 somefifo; ls -l somefifo prw-r--r-- 1 admin absent 0 may 26 18:16 somefifo In old-good cygwin 2.x the command works as expected: $ cygcheck.exe -V cygcheck (cygwin) 2.9.0 $ umask 0022 $ mkfifo -m 0600 somefifo; ls -l somefifo prw------- 1 builduser Domain Users 0 May 26 18:21 somefifo I've also questioned the topic at https://superuser.com/questions/1555204/cygwin-3-x-mkfifo-m0600-creates-named-pipe-with-0644-permissions best regards, Yoshi kakbudto -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |