Manually copying /etc/skel/ to /home/user directory.

Solution Verified - Updated -

Issue

/etc/skel will not manually copy to /home/user directory and gives the following errors:

# cp /etc/skel/.* /home/deb  
cp: omitting directory `/etc/skel/.'  
cp: omitting directory `/etc/skel/..'  
cp: cannot create regular file `/home/deb/.bash_logout': Permission denied  
cp: cannot create regular file `/home/deb/.bash_profile': Permission denied  
cp: cannot create regular file `/home/deb/.bashrc': Permission denied  
cp: cannot create regular file `/home/deb/.emacs': Permission denied  
cp: omitting directory `/etc/skel/.gnome2'  
cp: cannot create regular file `/home/deb/.kshrc': Permission denied  
cp: cannot create regular file `/home/deb/.mkshrc': Permission denied
cp: omitting directory `/etc/skel/.mozilla'

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content