Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 128446

Summary: fcrontab: error while loading shared libraries
Product: Gentoo Linux Reporter: Kandalincev Alexandre <exe>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Kandalincev Alexandre 2006-04-01 15:09:28 UTC
This error occurs if user in group root(for other users all ok):
fcrontab: error while loading shared libraries: libc.so.6: cannot open shared object file: Permission denied

in strace strange things like 'open("/usr/lib/libc.so.6", O_RDONLY)    = -1 EACCES (Permission denied)'

My perms:
localhost ~ # ls -lad /
d-wxr----t  20 root root 4096 Apr  1 23:42 /

The solution is:
localhost ~ # chmod g+x /

Here is some discussion about it:
http://www.linuxforum.com/forums/lofiversion/index.php/t177035.html
http://www.linux.hr/modules/newbb/viewtopic.php?topic_id=730&forum=4

The bug easy reproducable. Do 'chmod g-x /' and run 'fcrontab' by root.

BTW might i have wrong perms on "/"? If yes dont kill me please.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-01 15:13:05 UTC
Uh... yeah, your / permissions are indeed completely wrong.

ls -ld /
drwxr-xr-x 20 root root 464 2006-03-31 19:36