Description of problem: when adding a user, adduser fails with the following error: copydir(): preserving permissions for /home/people/my_test/public_html: Operation not supported Version-Release number of selected component (if applicable): 2:shadow-utils-4.0.17-18.el5.i386 How reproducible: Fully reproducible. Steps to Reproduce: 1.# groupadd -f -g 5000 my_test 2.# useradd -c "test account" -m -d /home/people/my_test -u 5000 -g 5000 my_test Actual results: copydir(): preserving permissions for /home/people/my_test/public_html: Operation not supported The user's home account is created but the /etc/skel/.mozilla directory is not copied to the home account. Expected results: no error message and all files/directories from /etc/skel should be copied to the new home dir. Additional info: Worked in correctly in 2:shadow-utils-4.0.17-15.el5.i386 The home directory is being created on an NFS share. The error does not occur when the home directory is on a local disk. Contents of /etc/skel: # ls -laZ /etc/skel drwxr-xr-x root root system_u:object_r:etc_t:s0 . drwxr-xr-x root root system_u:object_r:etc_t:s0 .. -rw-r--r-- root root system_u:object_r:etc_t:s0 .bash_logout -rw-r--r-- root root system_u:object_r:etc_t:s0 .bash_profile -rw-r--r-- root root system_u:object_r:etc_t:s0 .bashrc -rw-r--r-- root root system_u:object_r:etc_t:s0 .emacs drwxr-xr-x root root system_u:object_r:etc_t:s0 .mozilla drwxr-xr-x root root public_html -rw-r--r-- root root .zshrc Content of "failed" home dir: # ls -laZ ~my_test/ drwx------ my_test my_test . drwxr-xr-x root root .. -rw-r--r-- my_test my_test .bash_logout -rw-r--r-- my_test my_test .bashrc -rw-r--r-- my_test my_test .emacs drwxr-xr-x my_test my_test public_html -rw-r--r-- my_test my_test .zshrc Probably related to this change (from 2:shadow-utils-4.0.17-18.el5.i386 changelog) * Fri Sep 24 2010 Peter Vrabec <pvrabec> 2:4.0.17-16 - faillog does not print entries for all users - fix integer underflow in faillog - maximum size of groupname and username is 32 characters - japanese man page fix - support extended ACL's on files and directoris under /etc/skel Resolves: #619713, #603692, #586861, #537011, #513055
This bug may be related to bug 673091: https://bugzilla.redhat.com/show_bug.cgi?id=673091
*** This bug has been marked as a duplicate of bug 673091 ***