edit: the exceptions of the CFR are (b) through (h) but (c) is the most typical
So I just skimmed over the ruling here:
https://www.cadc.uscourts.gov/internet/opinions.nsf/77E3D4B7...
and you're right (if you're getting at what I think you're getting at).
The argument is that expense sharing is compensation, but it is allowed under the FARs in specific circumstance. Difference here being that the combination of holding out on a public website and receiving compensation via expense sharing put it in common carrier land.
Which does seem to make sense under current rules.
edit: wording
(a) Except as provided in paragraphs (b) through (h) of this section, no person who holds a private pilot certificate may act as pilot in command of an aircraft that is carrying passengers or property for compensation or hire; nor may that person, for compensation or hire, act as pilot in command of an aircraft.
(b) A private pilot may, for compensation or hire, act as pilot in command of an aircraft in connection with any business or employment if:
(1) The flight is only incidental to that business or employment; and
(2) The aircraft does not carry passengers or property for compensation or hire.
Why should only those with rich friends/family be able to a flight from A to B via private plane/pilot?
If a plane is safe enough for me to fly my whole family in, why is it too unsafe to fly someone else?