Permission error installing oracle xe on Oracle Linux

Kresten Skovsted Buch

    I've installed Oracle Linux on virtualbox from a windows 10 host.

    Then I've successfully installed Oracle XE, but when trying to configure the database I run into problems.

     

    I do: sudo -s

    then: /etc/init.d/oracle-xe-18c configure

    then I give it the passwords

     

    Then I get this error:

     

    enter image description here

     

    enter image description here

     

    This is the permissions for the /opt/oracle folder:

    enter image description here

     

    Should they changed? I'm doing this as root?

     

    Any help is very much appreciated.