<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 17 Mar 2020, at 3:04 pm, Murray Eisenberg <<a href="mailto:murrayeisenberg@gmail.com" class="">murrayeisenberg@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I did that: used mode 755 for directories, mode 644 for files there. <div class=""><br class=""></div><div class="">Still, same error <span style="font-family: Menlo; font-size: 12px;" class="">Unable to execute port: Could not open file: /Users/murray/macports/myports/kde/okular/Portfile</span></div><div class=""><font face="Menlo" class=""><span style="font-size: 12px;" class=""><br class=""></span></font></div><div class="">Did you get this to work with your own version of a port already included in MacPorts?<font face="Menlo" class=""><span style="font-size: 12px;" class=""><br class=""></span></font></div></div></div></blockquote><div><br class=""></div><div>Yes. My primary (only) ports tree is a clone of the git repo. in a sub-directory of my home area.</div><div><br class=""></div><div><div>Oberon ~/Projects > ls -lth         </div><div>total 0</div><div>drwxr-xr-x   8 chris  staff   256B  8 Oct 22:01 MacPorts</div><div><snip></div><div><br class=""></div><div>Oberon ~/Projects > cd MacPorts </div><div><br class=""></div><div>Oberon ~/Projects/MacPorts > ls -lth    </div><div>total 0</div><div>drwxr-xr-x  64 chris  staff   2.0K 17 Mar 14:42 ports</div><div>drwxr-xr-x  30 chris  staff   960B 10 Oct 10:09 base</div><div>drwxr-xr-x   5 chris  staff   160B  8 Oct 22:03 info</div><div>drwxr-xr-x  12 chris  staff   384B 11 Aug  2019 legacy-support</div><div>drwxr-xr-x  10 chris  staff   320B 15 Nov  2018 guide</div><div><br class=""></div><div>Oberon ~/Projects/MacPorts > ls -lth ports/science/root6/Portfile </div><div>-rw-r--r--  1 chris  staff    23K 17 Mar 14:43 ports/science/root6/Portfile</div><div class=""><br class=""></div><div class=""><div class="">Oberon ~/Projects/MacPorts > cat /opt/local/etc/macports/sources.conf</div><div class=""># MacPorts system-wide configuration file for ports tree sources.</div><div class=""><snip></div><div class="">#<a href="rsync://rsync.macports.org/macports/release/tarballs/ports.tar" class="">rsync://rsync.macports.org/macports/release/tarballs/ports.tar</a> [default]</div><div class=""><a href="file:///Users/chris/Projects/MacPorts/ports" class="">file:///Users/chris/Projects/MacPorts/ports</a> [default]</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Works just fine. e.g.</div><div class=""><br class=""></div><div class=""><div class="">Oberon ~/Projects/MacPorts > sudo port -d sync</div><div class="">DEBUG: Copying /Users/chris/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences</div><div class="">--->  Updating the ports tree</div><div class="">Synchronizing local ports tree from <a href="file:///Users/chris/Projects/MacPorts/ports" class="">file:///Users/chris/Projects/MacPorts/ports</a></div><div class="">DEBUG: euid/egid changed to: 501/20, env: HOME=/Users/chris SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.tBWSQExnkO/Listeners</div><div class="">DEBUG: /opt/local/bin/git pull --rebase --autostash</div><div class="">DEBUG: system -W /Users/chris/Projects/MacPorts/ports: /opt/local/bin/git pull --rebase --autostash</div><div class="">Created autostash: f6afbb3fb96</div><div class="">Current branch master is up to date.</div><div class="">Applied autostash.</div><div class="">DEBUG: euid/egid restored to: 0/0, env restored</div><div class="">DEBUG: system: /opt/local/bin/portindex /Users/chris/Projects/MacPorts/ports</div><div class="">Creating port index in /Users/chris/Projects/MacPorts/ports</div><div class="">Adding port science/root6</div><div class=""><br class=""></div><div class="">Total number of ports parsed:<span class="Apple-tab-span" style="white-space:pre">    </span>1 </div><div class="">Ports successfully parsed:<span class="Apple-tab-span" style="white-space:pre"> </span>1 </div><div class="">Ports failed:<span class="Apple-tab-span" style="white-space:pre">                      </span>0 </div><div class="">Up-to-date ports skipped:<span class="Apple-tab-span" style="white-space:pre">  </span>23266</div></div><div class=""><br class=""></div><div class="">I can edit, maintain, interact with git,  the ports under ~/Projects/Macports/ports using my regular user account, no sudo required.</div><div class=""><br class=""></div><div class=""><div class="">Oberon ~/Projects/MacPorts/ports > git status</div><div class="">On branch master</div><div class="">Your branch is up to date with 'origin/master'.</div><div class=""><br class=""></div><div class="">Changes not staged for commit:</div><div class="">  (use "git add <file>..." to update what will be committed)</div><div class="">  (use "git restore <file>..." to discard changes in working directory)</div><div class=""><span class="Apple-tab-span" style="white-space:pre">     </span>modified:   science/root6/Portfile</div><div class=""><br class=""></div><div class="">no changes added to commit (use "git add" and/or "git commit -a")</div></div><div class=""><br class=""></div></div><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On16 Mar 2020 21:13:58 +0100,<span class="" style="float: none; display: inline !important;">Pieter van Oostrum <</span><a href="mailto:pieter-l@vanoostrum.org" class="">pieter-l@vanoostrum.org</a><span class="" style="float: none; display: inline !important;">></span> wrote:</div></blockquote><blockquote type="cite" class=""><br class=""><div class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Subject: Re: installing patched okular: cannot open Portfile</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Ken Cunningham <</span><a href="mailto:ken.cunningham.webuse@gmail.com" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">ken.cunningham.webuse@gmail.com</a><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">> writes:</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">   gives error:<br class=""><br class="">       Unable to execute port: Could not open file: /Users/murray/macports/myports/kde/okular/Portfile<br class=""><br class="">   Could it still be a permissions or ownership issue?<br class=""><br class="">It is a permissions error. Although Chris and others seem to make this work, it has never worked<br class="">for me to put a macports repo in my home folder. I don’t know why, and I gave up trying to fix it.<br class=""><br class="">Just put it in /Users/Shared/MacPorts or, what I do, is put them all in /opt (but then you have to<br class="">be careful with sudo, which I always am).<br class=""><br class=""></blockquote><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Very strange. I have been using this construction for years. I have all my directories in my private repository with mode 755, and the files 644.</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">--<span class="Apple-converted-space"> </span></span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Pieter van Oostrum</span></div></blockquote></div><br class=""><div class="">
---<br class="">Murray Eisenberg<span class="Apple-tab-span" style="white-space: pre;">                       </span><a href="mailto:murrayeisenberg@gmail.com" class="">murrayeisenberg@gmail.com</a><br class="">503 King Farm Blvd #101<span class="Apple-tab-span" style="white-space: pre;">     </span>Home (240)-246-7240<br class="">Rockville, MD 20850-6667<span class="Apple-tab-span" style="white-space: pre;">  </span>Mobile (413)-427-5334<br class=""><br class="">

</div>
<br class=""></div></div></div></blockquote></div><br class=""></body></html>