Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sLY75-00FLOi-Ew for pgsql-committers@arkaria.postgresql.org; Mon, 24 Jun 2024 01:03:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sLY73-001v9H-OJ for pgsql-committers@arkaria.postgresql.org; Mon, 24 Jun 2024 01:03:18 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sLY73-001v7s-9a for pgsql-committers@lists.postgresql.org; Mon, 24 Jun 2024 01:03:17 +0000 Received: from mail-yw1-x112d.google.com ([2607:f8b0:4864:20::112d]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sLY71-002o4B-3M for pgsql-committers@lists.postgresql.org; Mon, 24 Jun 2024 01:03:16 +0000 Received: by mail-yw1-x112d.google.com with SMTP id 00721157ae682-6325b04c275so37459537b3.3 for ; Sun, 23 Jun 2024 18:03:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; t=1719190994; x=1719795794; darn=lists.postgresql.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=vfByWuosfUCgjc0p8sXDh4OrhJt87Xh/MEGqBL3e8qs=; b=bf7fSmivBotyMznt13rQsl5C/7yfCxe55zxpYkagkBsd0BcxCwJZcxsKA4+u5df2TF H5SzClnuXy9mrsbATtvmdMxZW9HEl0of3s9VC89Cwz0QHk1N3Cm7K/a7AKJiHD8MWKBH JIeIkHgQLn/VjnXMWUY/wqvUseZXwDYcmGghU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719190994; x=1719795794; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vfByWuosfUCgjc0p8sXDh4OrhJt87Xh/MEGqBL3e8qs=; b=sRC+9BZA6ISsmWql43KMO0NaKHllayz4rDf1ktSn2FDtsAlx1JehB/HW+uxSdoqnk1 LuVxl5KzeqeWAQoBiWVWNyBCC7SObl1414qloZfBrjhuSyNXohDbZRJ692ItvjzFfWkY FNeQ4e0qToq+R7DRDVaNbpHyIejlT1O/pnXIc+nKjlnxS5ztjDHDfeA0hN8qXQ+k7rnU cjuV1X2r0fV28irANxi/Hrr+OPQsg7QOkMDOqboIwTjzZab/N4UTJWxP1z6tx3Sz26C9 Gltuy7eFRtNJWVGdDciR1NT550UoMDt7j8qlHCTcpjUM05vh0CKxZxFddujj/kWWgNrh hmEw== X-Gm-Message-State: AOJu0Yzv5+a+bgalibU8gZnjoXldSvok5WmcZnOuNMCz4KGYdE86qIE5 8b8kD1XLShLLu2Js73Mp82dVlUVddGmWW5X6Le7/MysmO7k7PXf14+d4vnX2q3mWjckby6/LnXU = X-Google-Smtp-Source: AGHT+IGqo5eYOHBP5trT3tvuGG3pv5z9LkzxjkR1HhqrTj2bdfnH7lwnenPqxjLlDwMUCvkb2viD4A== X-Received: by 2002:a05:690c:d8a:b0:609:efe8:2bfc with SMTP id 00721157ae682-643aae70abdmr33567637b3.27.1719190994333; Sun, 23 Jun 2024 18:03:14 -0700 (PDT) Received: from google.com ([2600:1702:a20:5750::48]) by smtp.gmail.com with ESMTPSA id 00721157ae682-63f15f66746sm24371647b3.135.2024.06.23.18.03.13 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 23 Jun 2024 18:03:13 -0700 (PDT) Date: Sun, 23 Jun 2024 18:03:11 -0700 From: Noah Misch To: Andrew Dunstan Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Skip some permissions checks on Cygwin Message-ID: <20240624010311.0b.nmisch@google.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.2.12 (2023-09-09) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Jun 13, 2024 at 12:12:29PM +0000, Andrew Dunstan wrote: > Skip some permissions checks on Cygwin > > These are checks that are already skipped on other Windows systems. > skip "unix-style permissions not supported on Windows", 2 > - if ($windows_os); > + if ($windows_os || $Config::Config{osname} eq 'cygwin'); > - skip "group access not supported on Windows", 3 if ($windows_os); > + skip "group access not supported on Windows", 3 > + if ($windows_os || $Config::Config{osname} eq 'cygwin'); Cygwin does support Unix-style permissions, so I'm not following the rationale for this change. Can you say more?