sudo mount -o user /dev/sr0 cd
You need the "user" option otherwise non-root or non-owners cannot view the CD and this would make it so no anonymous access to the CD/DVD mount would work. Note that most distributions including Ubuntu DO NOT work unless you manually mount and share as shown above (I couldn't find any other way in Ubuntu).