Manually copying /etc/skel/ to /home/user directory.
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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
