Permissions issue detected on the tarballs/base file during upgrade to MacPorts 2.8.0
Olaf Sulla
olaf.sulla at btinternet.com
Thu Oct 20 15:11:05 UTC 2022
Hello all,
I installed the update to MacPorts 2.8.0 earlier today on a Mac Mini A1 running Monterey 12.6.
During the install the following error was reported:
NFO: Syncing port data and updating port-base ...
Password:
---> Updating MacPorts base sources using rsync
MacPorts base version 2.7.2 installed,
MacPorts base version 2.8.0 downloaded.
---> Updating the ports tree
---> MacPorts base is outdated, installing new version 2.8.0
Installing new MacPorts release in /opt/local as root:wheel; permissions 0755
Error: Couldn't change permissions of the MacPorts sources at /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/base to root: child killed: kill signal
Please run `port -v selfupdate' for details.
Error: /opt/local/bin/port: port selfupdate failed: Couldn't change permissions of the MacPorts sources at /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/base to root: child killed: kill signal
ERROR: Self update failed with exit code: 1
ERROR: MacPorts sync failed
I re-ran the self update with the ‘-v’ option but no error was reported.
I checked the folder permissions:
ls -la /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs
total 226484
drwxr-xr-x 10 root wheel 320 Oct 20 11:50 .
drwxr-xr-x 3 root wheel 96 Nov 29 2020 ..
-rw-r--r-- 1 root wheel 18098189 Oct 20 08:34 PortIndex
-rw-r--r-- 1 root wheel 512 Oct 20 08:56 PortIndex.rmd160
drwxr-xr-x 30 root postgres 960 Oct 20 07:02 base
-rw-r--r-- 1 root wheel 113716224 Oct 20 07:45 base.tar
-rw-r--r-- 1 root wheel 512 Oct 20 07:45 base.tar.rmd160
drwxr-xr-x 62 root postgres 1984 Oct 20 11:50 ports
-rw-r--r-- 1 root wheel 100087808 Oct 20 08:56 ports.tar
-rw-r--r-- 1 root wheel 512 Oct 20 08:56 ports.tar.rmd160
Group II:
drwxr-xr-x 30 0 505 960 Oct 20 07:02 base
drwxr-xr-x 62 0 505 1984 Oct 20 11:50 ports
The ‘postgres’ group is listed via dscl.
I was not expecting to see the group set to ‘postgres’ on these folders.
Could you please advise if I should raise one or more tickets for this, and could you confirm what permissions I should expect to find on these folders.
Yours,
Olaf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20221020/6256226b/attachment.htm>
More information about the macports-users
mailing list