/opt folder missing in Ubuntu 14.04
Solution 1:
Directory /opt
is optional. It is not being used for anything in the standard Ubuntu distro so somebody decided not to create one.
Not a big deal. Just create it with sudo mkdir /opt
Edit
As suggested by waltinator
a better command would be mkdir --mode=755 /opt
Solution 2:
I suggest mkdir --mode=755 /opt
. Read/Write/Search for Owner (root:root
), Read/Search for Group and Other. Allows root
to create files/directories, allows anybody else to search and descend the directory tree under /opt
(depending on lower nodes permissions)