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.96) (envelope-from ) id 1vr0V8-004s8X-0F for pgsql-general@arkaria.postgresql.org; Fri, 13 Feb 2026 21:14:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vr0V6-00GH1E-2o for pgsql-general@arkaria.postgresql.org; Fri, 13 Feb 2026 21:14:56 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vr0V6-00GH16-1n for pgsql-general@lists.postgresql.org; Fri, 13 Feb 2026 21:14:56 +0000 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vr0V4-00000000YAe-2Ss7 for pgsql-general@postgresql.org; Fri, 13 Feb 2026 21:14:56 +0000 Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-2aae146b604so10290215ad.3 for ; Fri, 13 Feb 2026 13:14:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1771017292; cv=none; d=google.com; s=arc-20240605; b=jwnwc4IROOOHKPRyQ+65CM3EmopM87v8CJ6oJfEQEGqczi8DHyrvgSSlH+B42AcgeD qy7hWcJIumofq4c/lUw3PQYsMUjN8GookvlI3drSkzW+dG0oDXby1+6qiHL/zNqi+qLC LVW35h7b6nEZNCFNtaIvUt2KdMBUS7s8LhJrkhO/uvs9hYgJ9TJ0LV8Ds4142tTjRwJd TtghnJh84Ecul/pfz4mLU/TSg356sh+m1GhtQfPxaNinVMALejVcnf9PwhOfNBjlRWlE Lan2EBsUqZj/NlOCsgqCmZvGVBJV1gTOa8uSfYDQ6ppZrt+XAfUBCMElk92BhZxp8nws 542w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=to:subject:message-id:date:from:mime-version:dkim-signature; bh=uvIrYifQ83jKa+zr/WbOiw82tJpLWjdfHdRUmvA/ksY=; fh=x9Jmr8+FtiCQKUvo/7/je6SkcsG+V48pI/LmEXQOSec=; b=BwIbxf4NABu25Seyow34wcB7up82nTMmj4jFsuAildoF9RyJWcgs62Qj4NzhK5j9RK M253axdVNpfzgjeJo40pVURKsvu/9iuBUkVJBjp7zXt6nEfBP6+xfyVKFqQLsgJdOoca DV6WUI83QVZU0NdB4lL3QzF6PB8OF+bHl7Dw9vYWcITe25NR7+PIGS4+3+DBhHkKv9x5 9nD2FpaYDC2CYXhy9z5nIUx+O6aIkP+Mf+Au2rq0wyern9JZOB/gwwu7mD1oTo0oB8Aw yPrd7uatOSlGHEo99kOUt0/qDiwFBEwDrddks3h9GSeBzC36XB+BcGNN/6pYF4c2AiPK +eKA==; darn=postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1771017292; x=1771622092; darn=postgresql.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=uvIrYifQ83jKa+zr/WbOiw82tJpLWjdfHdRUmvA/ksY=; b=QK4XE3ry42cicuaRArISIIdgY/SBz4ELxNXmBwgzZip3QZzVsFFTNchfewVK0n/RHO YzCnvKTLxBY5lvMFz4Yq58aVyWgHtYWuq0+2KMTIDCTgLAzZq0lfjCnWckwkr2B0U8Zg OkrhgVH7sPtg1AcF76Xtz0JUaTlHxYQg98XXGJzAXqusnI9hjAGtggvZ9ClPLtL2pfYM z/xXEWaY8l7rOTLF4l5z5vgGaSx/xYndKzYvAw8VZWxD2pmARVK404sFx3AQy/ueLqtS WIvmLgm3lwgMv7Ug26WlSzkoSHa595bd5fRMQTCTafB/svyLz/FfJwyuFxkL0As6HJwt wdaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771017292; x=1771622092; h=to:subject:message-id:date:from:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=uvIrYifQ83jKa+zr/WbOiw82tJpLWjdfHdRUmvA/ksY=; b=aP7LnalsHEA+u+kBlV9QXZzDdmVmDck2V+G/KC4iglHTleK/V8bT2BHrnC8HZ7WGZS Kih2//R6Ck08uopdiqgIBCSuPHeps/JDzNbQrTwH04VVwLYtQtkSAHgFttheppf7kEez 5IbjqU2O+nOn03EbnJJWTpLRETjlDBnLZN8fFA2hMr/mDaMTjTYAk06swKd05MyVg8wp BGbKj7vZ97M2B35x0hXui/cOmKbj3wWpzjcKKHrqaK777LfxeD++/yTEpjyF55YQ7ScE Nd/dl0ufzaxaGh1M0z2hPwlmoU4zZvag6Awrt3cfGaa8UF/R+rri8zN/2Pp+KrMblOP1 asgA== X-Gm-Message-State: AOJu0YzAQCl2emDa/pLmuprmhmcqoxunYFnACRHodWpMIB5MC7MhjFhm NwNpYWPsolEz66ITxNqHbQcxUMVZuP49RB1cCVMPtwbLRnhj5FFd3e3uL4RGaBOhjLb7xbRcLA5 eB8I4ruPRapkeCzQCEbDkyAoReHXubNIPYw== X-Gm-Gg: AZuq6aKb6Y53gQO8YskgLwrwTIduf6ja1Wdl291kzrn7k4PJVSQPunF/FKCWV1K1Do8 2Jl9LW4RRAkGsyLdpaDXU0OkHTZ4zHM0V8ibgPAaeSHVhiSZ7/fFTZx9zJ8+fSWEtbEt0usv8Kv qkmIq8wyw4032Rg7jbDQ/oE3Yj8s4KS6Qj0+Mv883Z5YlzW2bCdCnEFusZmp+u9Zrh1ZT+mpAUg Mc0cR4z2iDPOASiixP1XlrtbgSxI5DuQzlORj8ImHO5a/zaLORJU98C6oNOUN8kJyru/XdWvd3m MxBOrtRyOczkilE= X-Received: by 2002:a17:902:dacc:b0:2aa:d333:ce86 with SMTP id d9443c01a7336-2ab4cf4f7e9mr40126875ad.6.1771017291854; Fri, 13 Feb 2026 13:14:51 -0800 (PST) Received: from 1064022179695 named unknown by gmailapi.google.com with HTTPREST; Fri, 13 Feb 2026 13:14:50 -0800 Received: from 1064022179695 named unknown by gmailapi.google.com with HTTPREST; Fri, 13 Feb 2026 13:14:47 -0800 MIME-Version: 1.0 (Mimestream 1.9.11) From: Anthony DeBarros Date: Fri, 13 Feb 2026 13:14:50 -0800 X-Gm-Features: AZwV_QjoNVBvdodHvdcYao8Pmm2lbiau9Mez0RS8B7pLfulFphvsJ4Pe_wWIZUo Message-ID: Subject: Best practice for granting folder read/write permission on Windows To: pgsql-general@postgresql.org Content-Type: multipart/alternative; boundary="00000000000092785a064abb18e8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000092785a064abb18e8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, all, I don=E2=80=99t use Windows much, but I often help folks who do and are lea= rning SQL by running PostgreSQL on that OS. In order to COPY FROM or TO a folder on, say, the Desktop, the user must first provide permission to PostgreSQL to Read and Write from it. Out of the box, it cannot as it does not have permission. Do any of you with PostgreSQL and Windows expertise have a suggestion on a best practice for this? I have through trial and error found that navigating to the folder Properties, and then Security, and adding =E2=80= =9CUsers=E2=80=9D to the list of Group or user names solves the issue. I suppose I could find the specific name of the PostgreSQL service and add it, but that=E2=80=99s = a lot of digging for newbies. I hope this question is clear. Thanks for any suggestions. Anthony DeBarros --00000000000092785a064abb18e8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi, all,

I don= =E2=80=99t use Windows much, but I often help folks who do and are learning= SQL by running PostgreSQL on that OS.=C2=A0

In order to COPY FROM or TO a folder on, say, the Deskto= p, the user must first provide permission to PostgreSQL to Read and Write f= rom it. Out of the box, it cannot as it does not have permission.

Do any of you with PostgreSQL and W= indows expertise have a suggestion on a best practice for this? I have thro= ugh trial and error found that navigating to the folder Properties, and the= n Security, and adding =E2=80=9CUsers=E2=80=9D to the list of Group or user= names solves the issue. I suppose I could find the specific name of the Po= stgreSQL service and add it, but that=E2=80=99s a lot of digging for newbie= s.

I hope this question is= clear. Thanks for any suggestions.

Anthony DeBarros=C2=A0
--00000000000092785a064abb18e8--