From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Pankaj Jangid Newsgroups: gmane.emacs.help Subject: Re: iCloud directory access issue on macOS Catalina Date: Sat, 12 Oct 2019 12:43:06 +0530 Organization: Code is Great! Message-ID: References: <4EFEE550-90AA-44F9-B226-C5D05C63AAD2@easesoftware.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="25783"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (darwin) Cc: Perry Smith To: Emacs mailing list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 12 09:13:35 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iJBan-0006ZG-T7 for geh-help-gnu-emacs@m.gmane.org; Sat, 12 Oct 2019 09:13:34 +0200 Original-Received: from localhost ([::1]:59266 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJBam-0003lp-7z for geh-help-gnu-emacs@m.gmane.org; Sat, 12 Oct 2019 03:13:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48659) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJBaU-0003jb-Id for help-gnu-emacs@gnu.org; Sat, 12 Oct 2019 03:13:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iJBaT-0006vl-CN for help-gnu-emacs@gnu.org; Sat, 12 Oct 2019 03:13:14 -0400 Original-Received: from mail-pg1-x535.google.com ([2607:f8b0:4864:20::535]:38824) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iJBaT-0006vJ-53 for help-gnu-emacs@gnu.org; Sat, 12 Oct 2019 03:13:13 -0400 Original-Received: by mail-pg1-x535.google.com with SMTP id w3so146446pgt.5 for ; Sat, 12 Oct 2019 00:13:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version; bh=KboTHdT6t80bsPKojdjxZz39AbDjS6iBsxsmNgrB+Yc=; b=Bk9JPd0ty6J8iZs9YQpRd/M/a6rUjVxhp/Ugz6CMhsKkVUDw5ImOeEhtOu2HY6XFL6 /jfJR3jDU9aIlgwbB33s5Ka6V1GT44qV6m6MXef2N/4T0zSmi0tvv8uhHZUrbpo6jh8S /7ExEhVTN/jIylAcDinq5b89uvdgOC50bcSkw+v5MfMEs7ysc15XrPcx/U1/K/iUthiu wleGzJxNou0eyhHftrMldUeHTdR4ik9HPgxCMU4+Izbkudn1B1lTqvkFuBN5hGGEtD4K sKSHGYG3XqyaeIblRm5ac4vt93y9oTUdArM1Yj3JB0C5vgMUic1F1/6/XI21pr0LK3Jz obTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:organization:references:date :in-reply-to:message-id:user-agent:mime-version; bh=KboTHdT6t80bsPKojdjxZz39AbDjS6iBsxsmNgrB+Yc=; b=EB6eXbzFiHYaCZ3o1sAjWbHWTATHeanjesvUkKiC2UmO3t9DOZUjW2+mQ7iG1GI0c0 Iv1aN1IgWoJAzgpfIARk54+TyqnpOBTaZYULbG7RoX+Z5Dii3PUgk0n/7TNET4RwCxGt K45qe8qN4Ine3u4EEpn2aLoW+gri/DgaKCA/mi5BDHl7OIU2qzu0PIPLRCD6ZkPKF6pN Vn9UvdvJp8+GOqUc6wqnkXj4Pyp6ulI1Q1ybwDEl/W/wR+J3gxtVkcUVN9y8Yy0J0tK8 igLBLOmitB4xNXET1ndOEulO0fDHI3b1Kk/uTcyvAxT8WerOeXDuVHgah/9Aer9DwPUK SgBg== X-Gm-Message-State: APjAAAVK46QdpZViFpYk8tHxWh4PBBM5zax7C0u3rJsFn4ZnYG5VcX5x bjmi/sl9IcPAuk4OEUr/p3QUkeznrg== X-Google-Smtp-Source: APXvYqwbiBq+6ZIvWMDg5eOEJFKWagn/1E+TqnmN+CXVOZ9ACzGBgyojmev0UWt8vHufSBlt8Zprhw== X-Received: by 2002:a63:e211:: with SMTP id q17mr21224499pgh.316.1570864391517; Sat, 12 Oct 2019 00:13:11 -0700 (PDT) Original-Received: from Pankajs-MacBook-Pro.local ([45.251.50.53]) by smtp.gmail.com with ESMTPSA id f6sm10814159pfq.169.2019.10.12.00.13.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 12 Oct 2019 00:13:10 -0700 (PDT) Original-Received: by Pankajs-MacBook-Pro.local (Postfix, from userid 501) id 12599203B8FB1B; Sat, 12 Oct 2019 12:43:06 +0530 (IST) In-Reply-To: <4EFEE550-90AA-44F9-B226-C5D05C63AAD2@easesoftware.com> (Perry Smith's message of "Fri, 11 Oct 2019 09:09:04 -0500") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::535 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:121645 Archived-At: Perry Smith writes: > Someone at the EmacsForMacOS GitHub discovered a few things about > this. (Not exactly solved but a relatively simple work around) > > Add Emacs.app to "Full Disk Access", then inside Emacs, use > ns-open-file-using-panel (bound to Cmd-o by default) to open an > arbitrary **file** directly inside ~/Documents. The GUI won't let you > open a directory. I bet that could be enhanced a little. After that > emacs can dired in ~/Documents. > I confirm that this approach worked on my Mac. > There seems to be three of these: ~/Documents, ~/Desktop, and > ~/Downloads. I'm surprised ~/Downloads is in there because its not > copied to iCloud. > Yes. ~/Downloads is surprising. This implies that the problem isn't related to iCloud but it is some other permissions stuff, which is specific to macOS 10.15 (Catalina). > The ns-open-file-using-panel must be done once for each of these > three. After that, it appears to work forever and ever. I even > rebooted and it still worked. > > -- Regards, Pankaj Jangid