Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128446 - fcrontab: error while loading shared libraries
Summary: fcrontab: error while loading shared libraries
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-01 15:09 UTC by Kandalincev Alexandre
Modified: 2006-04-01 15:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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