FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
I think I fu**** up something... I changed the permission on the /lib/ folder so that my user can access it. I did a "chmod 666 /lib" and then yeah it dind't worked... so I tried to go in the terminal again, and when I tried to run it, it told me "Permission Denied!" So, every programs that I try to run tell me that...
What you did was set the permissions so "root" did not have write (edit: execute -- see spooon below) permission to /lib. How can you recover? I'd try booting from you install media using the linux rescue option, and changing the directory permissions back to their standard settings.
In any case, you should not have needed to change the permissions, since the default is to give everyone execute access to /lib. If, for some strange reason, they need "read" as well, try 771 next time. But read access is, normally, neither necessary nor desirable.
Edit: Oh, you did mention that "it didn't work." Perhaps you wanted to use the -R option to apply you changes to the subdirectories and files of /lib. See man chmod for details.
Last edited by PTrenholme; 12-23-2005 at 06:47 PM.
6 = read & write permissions; but you are talking about a directory; and a directory is completely useless without execute permission, because it is execute permission which allows access to its contents. Even without read and write permissions, if a directory has execute permissions, then you can still access everything inside if you know their names; but without execute permission you can do nothing. I suggest you give the directories something like 755 or 711 permissions.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.