#47592: File permissions causing warnings ----------------------+-------------------------------- Reporter: mp@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Not set | Milestone: Component: base | Version: 2.3.99 Resolution: | Keywords: Port: | ----------------------+-------------------------------- Changes (by ryandesign@…): * cc: mcalhoun@… (added) Comment: Replying to [ticket:47592 mp@…]:
Running `sudo port rev-upgrade` gives these warnings: {{{ ---> Scanning binaries for linking errors Warning: Error parsing file /opt/local/libexec/dbus-daemon-launch- helper: Error opening or reading file Warning: Error parsing file /opt/local/libexec/ssh-keysign: Error opening or reading file Warning: Error parsing file /opt/local/bin/cdda2wav: Error opening or reading file Warning: Error parsing file /opt/local/bin/cdrecord: Error opening or reading file Warning: Error parsing file /opt/local/bin/readcd: Error opening or reading file Warning: Error parsing file /opt/local/sbin/rscsi: Error opening or reading file }}}
The files: {{{ -rwxr-x--- 1 root messagebus 582372 Mar 28 17:17 /opt/local/libexec /dbus-daemon-launch-helper -rws--x--x 1 root admin 824984 Apr 7 11:07 /opt/local/libexec /ssh-keysign -rws--x--x 1 root admin 322776 Apr 24 11:30 /opt/local/bin/cdda2wav -rws--x--x 1 root admin 460536 Apr 24 11:30 /opt/local/bin/cdrecord -rws--x--x 1 root admin 280540 Apr 24 11:30 /opt/local/bin/readcd -rws--x--x 1 root admin 93520 Apr 24 11:30 /opt/local/sbin/rscsi }}} Not sure how long this has been going on – guessing somewhere between a fortnight and a month, but might be even older…
I imagine it has been going on as long as you've installed the ports that provide those unreadable files: {{{ $ port provides /opt/local/libexec/dbus-daemon-launch-helper /opt/local/libexec/ssh-keysign /opt/local/bin/cdda2wav /opt/local/bin/cdrecord /opt/local/bin/readcd /opt/local/sbin/rscsi /opt/local/libexec/dbus-daemon-launch-helper is provided by: dbus /opt/local/libexec/ssh-keysign is provided by: openssh /opt/local/bin/cdda2wav is provided by: cdrtools /opt/local/bin/cdrecord is provided by: cdrtools /opt/local/bin/readcd is provided by: cdrtools /opt/local/sbin/rscsi is provided by: cdrtools }}} For each file, it can either be considered a bug that they are not world readable, or else possibly it is intentional. You would have to ask the developers of those programs. Cc'ing Marcus who maintains dbus. If there is a base bug here at all, it is that "sudo port rev-upgrade", though invoked as root, drops privileges and therefore cannot read files that are not world-readable. -- Ticket URL: <https://trac.macports.org/ticket/47592#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X