IT News

/bin/pwd broken in RHEL and CentOS 5

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/enablefileprotect

The 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

Original Article from cPanel

Filed under cPanel

Ads

Latest Web Tools