User Home Directory Issues

Good Afternoon OSC Team,

Here with another question - this time related to the “Missing Home Directory Error”.

In an attempt to debug this issue, I commented out the line in pun_config_view.rb that checks for the home directory

    def missing_home_directory?
      false
      #! Dir.exist?(user.dir)
    end

With that in place, we are able to have the user log in to the system. Of course, there is an issue when attempting to actually access the home directory when clicking Files>Home Directory in the user interface.

EACCES: permission denied, scandir "$HOME"

$HOME does output the appropriate user home directory in the actual message.

My question here is, what user needs to have permission to access these directories (since it seems to be a permission issue that is causing this issue)? The apache user, or the ondemand-nginx user?

Thank you in advance!

Juan

Hey it’s the actual system user who’s logged in. I mean the unprivileged user. Your having issues using seeing your own HOME directory? That seems strange. What’s your selinux setup like? Do you see any warnings coming from it in the audit logs?

Jeff,

Apologies for not responding here earlier. It does, in fact, look to be an issue with out SELinux configuration.

Thanks again for all the help!

Best,

Juan