/bin/pwd broken in RHEL and CentOS 5
This is an important news alert from cPanel.net
Currently, RedHat is shipping an older version of coreutils which contains a known bug in /bin/pwd. If a parent directory to the directory /bin/pwd is executed in does not have read permissions, /bin/pwd will fail with the following error:
/bin/pwd: cannot open directory `..’: Permission denied
cPanel has built a script to modify the permissions on your /home directories to 0755 in order to maintain full functionality of the system until this issue is corrected by RedHat. If you experience the above error, you can run the following command to resolve the issue:
/scripts/enablefileprotectThe issue has been reported to RedHat and they have promised a fix in the next coreutils update. More information on the report can be found here:
https://bugzilla.redhat.com/show_bug.cgi?id=448446
References:
http://lists.gnu.org/archive/html/bug-coreutils/2007-02/msg00053.html
If you enjoyed this post, make sure you subscribe to my RSS feed!
- June 26th


















Leave a Reply