System: RHEL5.6x64 specific scenario: Oracle was installed on a new machine yesterday, new partition/dev/sda7, mounted to/u01, and found when useradd, the following error occurs when useradd-d/u01/app/oracleoracle: copydir (): preservingpermissionsfor/u01/app/oracle /. mozilla: Operationno
System: RHEL5.6 x64
Specific scenarios:
Yesterday, Oracle was installed on a new machine, and the new partition/dev/sda7 was mounted to/u01. Then, when useradd was found, the following error is reported when useradd-d/u01/app/oracle is used.
Copydir (): preserving permissions for/u01/app/oracle/. mozilla: Operation not supported
At first, I thought it was an ISO problem. Today I changed an ISO problem, but there was no such problem on RHEL5.5. A problem occurs. It must be a new mount area. This problem will not occur if/home is located in.
After Google found that there was a solution on the bugzilla of RedHat. The method is as follows:
1) According to the error message, it is caused by the ACL mechanism. There are two feedbacks on bugzilla, which provide a temporary solution.
Https://bugzilla.redhat.com/show_bug.cgi? Id = 673241
Https://bugzilla.redhat.com/show_bug.cgi? Id = 673091
Use remount: mount/u01-o remount, user_xattr, acl
Change the default mount options of/home:
Ext2/3: tune2fs -O user_xattr, acl
Ext4: tune4fs -O user_xattr, acl
2) Update Patches
If you are a business user of RHEL, you can update it through RHN.
If CentOS is used, it can also be updated through the official source of CentOS.
Or go to ftp.redhat.com:/pub/redhat/linux/enterprise/5 Server/en/OS/SRPMS to find the src. rpm package of shadow-utils and compile it into an rpm package. The src package of shadow-utils-4.0.17-18.el5_6.1.src.rpm should be used.
Select the compilation parameters based on your system architecture.