Cannot touch files under /lib64
Posted: Fri Jan 27, 2012 8:03 pm
I can't touch any files under /lib64 on a CentOS 5.7 x64_64 Xen guest running the latest ASL kernel. I only have this problem on one machine, though we have several others just like this one. This is also breaking yum updates for packages with files under /lib64.
Check this:
However, I can touch a file elsewhere and then move it into /lib64:
What could be the reason that touching files under /lib64 (and its subdirectories) directly is not possible?
Check this:
Code: Select all
# cat /etc/redhat-release
CentOS release 5.7 (Final)
# uname -r
2.6.32.43-6.art.x86_64
# whoami
root
# stat /lib64
File: `/lib64'
Size: 4096 Blocks: 8 IO Block: 4096 map
Device: ca01h/51713d Inode: 3391489 Links: 8
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2012-01-28 00:44:45.000000000 +0100
Modify: 2012-01-28 00:43:29.000000000 +0100
Change: 2012-01-28 00:43:29.000000000 +0100
# touch /lib64/test
touch: setting times of `/lib64/test': No such file or directory
Code: Select all
# touch /tmp/test
# mv /tmp/test /lib64/test
# stat /lib64/test
File: `/lib64/test'
Size: 0 Blocks: 0 IO Block: 4096 regular empty file
Device: ca01h/51713d Inode: 1900614 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2012-01-28 00:54:16.000000000 +0100
Modify: 2012-01-28 00:54:16.000000000 +0100
Change: 2012-01-28 00:54:22.000000000 +0100