delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-ID: | <38B64C41.567C8E19@ece.gatech.edu> |
Date: | Fri, 25 Feb 2000 04:32:49 -0500 |
From: | "Charles S. Wilson" <cwilson AT ece DOT gatech DOT edu> |
X-Mailer: | Mozilla 4.7 [en] (WinNT; U) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
To: | Corinna Vinschen <corinna AT vinschen DOT de> |
CC: | cygwin AT sourceware DOT cygnus DOT com |
Subject: | Re: File permissions problems |
References: | <38B2B1EF DOT 57193440 AT ece DOT gatech DOT edu> <38B481A5 DOT 3DA595D8 AT vinschen DOT de> |
Corinna Vinschen wrote: > > Nevertheless it seems to be not a problem of ntsec but a result of > the open calls in ipc code. I have only version 1.03 and the open > calls which create the /tmp/Multi* files do create the files without > explicit permission, eg: > > LFdSem = open(CYGWIN32_IPCNT_FILESEM, O_CREAT|O_TRUNC|O_WRONLY); > > instead of > > LFdSem = open(CYGWIN32_IPCNT_FILESEM, O_CREAT|O_TRUNC|O_WRONLY, > 0666) ; > Thanks for the pointer. I've fixed both cygipc and gdbm based on this advice. As an added benefit, 'cvs export' now works after relinking cvs with the fixed gdbm. > > [...] > > The Multi* files are created by ipc-daemon, and I guess the sock-* files > > are created by the io_sock test (via the AF_UNIX cygwin subsystem.) In > > The permissions of the sock-files are probably a cygwin error. > I will examine the related cygwin code when I have more time. > Thanks... --Chuck Wilson -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |