The errors are after I copy the command to the /bin directory as a su. What is not apparent to me is why some commands/programs pre-installed run but the one I downloaded (docker-machine) doesn't and throws the permission denied error. That's when I ran into the ro option set on the drive!
When I run "mount -o remount, rw /", it looks like it succeeds (no errors) but then when I run just "mount" again, I see that the root partition on sda5 is still set to noexec ro.
So, I ended up using the took disk? to see if things can be fixed using a GUI tool (since I am a veteran Windows guy
), that made things worse as it completely got the mount points messed up.
Long story short, re-installed Ubuntu and then ran mount again only to realize the ro flag is still set. Switched to su mode and ran mount to remount with rw permissions and now it seems to be sticking.
All this started because I was trying to run docker-machine to provision some docker containers on Azure.
Now, I have docker-machine running locally and trying to work my way through the labyrinth that is Linux