Certbot / Python problem

Bjarne D Mathiesen macintosh at mathiesen.info
Fri Feb 21 13:02:32 UTC 2025


I've tried including you directly in "To", but my mail-server gets
blocked, because it's sitting on a private IP-address

Final-Recipient: rfc822; mllists at arc.co.uk
Original-Recipient: rfc822;mllists at arc.co.uk
Action: failed
Status: 5.7.1
Remote-MTA: dns; mx.easymail.ca
Diagnostic-Code: smtp; 554 5.7.1 Service Unavailable; Client host
    [45.134.167.28] blocked by Abusix (https://abusix.ai) ;
    https://lookup.abusix.com/search?q=45.134.167.28

On 21/02/2025 12.42, Mark Lucas wrote:
> Bjarne
> 
> For some unknown reason I did not receive your last post to the list and
> only found it on the list archives site.
> 
> I have run your script and everything seemed to work ok 
...
> DEBUG: dropping privileges: euid changed to 502, egid changed to 501.
> 
> Error: Unable to execute port certbot: Could not open file: /Users/
> ******/ports/certbot/security/certbot/Portfile
>
> Any idea what went wrong?

File permissions.
Even though you -correctly- are using sudo, the privileges get dropped

Try :
sudo find ./ports -type d -exec chmod 755 \;
sudo find ./ports -type f -exec chmod 644 \;
You might also have to look at the permissions for the /****/ part of
the file path. As a minimun, there need to be x on !ALL! the directories
for both owner, group & all. So, if you start w/:
    cd /Users ; ls -l
then check your homedir permissions. If they are in-correct, do:
    chmod +x <dirname>

-- 
Bjarne D Mathiesen
Slagelse ; Danmark ; Europa
-----------------------------------------------------------------------
denne besked er skrevet i et totalt M$-frit miljø
MacPro 2010 5.1 ; OpenCore + macOS 14.7.3 Sonoma
2 x 3,46 GHz 6-Core Intel Xeon ; 192 GB 1333 MHz DDR3 ECC RDIMM
ATI Radeon RX 590 8 GB



More information about the macports-users mailing list