How to Restore files under user's home directory to default (Doc ID 1955585.1)

Last updated on SEPTEMBER 14, 2017

Applies to:

Linux OS - Version Oracle Linux 6.0 and later
Linux x86
Linux x86-64

Goal

If accidentally the context or file permission of files under user's home directory had been changed, permission errors or unexpected application behavior might be encountered after this user login system.

For instance, if the file permission of /home/user1/.bash_profile is wrong, login user1 will get prompt "/home/user1/.bash_profile: Permission denied":


This document instructs how to restore files/sub directories under user's home directory to default.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms