-   Linux - Newbie (
-   -   how create a folder/permission (

rusmi 02-11-2005 08:27 AM

how create a folder/permission
I want create a folder in /lib to copy a few files but I don't have the premission, how can I change the attribute of the folders?


PensJunkie 02-11-2005 08:38 AM

use "su" to gain root privileges, then you can mkdir and chmod

overlord73 02-11-2005 08:40 AM

chmod <permission> foldername! ??!!

rusmi 02-11-2005 09:05 AM

I'm linux newbie, can I change the settings wrom the desktop or using configuration tools?

harken 02-11-2005 09:36 AM

Yes, you can. At least in KDE you have "K" button (down-left)->System->More Applications->File Manager(Super User Mode). There's probably something similar in Gnome. You anyway need root's password.

But it's easier the way the guys before me said. Open a console, type 'su', enter password, then 'chmod XXX foldername', where XXX is the numerical representation of the permissions. Or, instead of XXX use letters, like 'chmod a+w foldername' which will grant write rights to all the users.

rusmi 02-11-2005 09:45 AM

I don't have any password, what password you mean?

harken 02-11-2005 11:01 AM

My my, you haven't reached yet the point where you ask yourself "which is my root password"?
Ok, tell what distro are you running and, if you know, what desktop manager.
Anyway, when you installed your distro (if is you the one who got it installed), it should have asked you about an account name and two passwords. One for the account name you provided, a regular user one, and one for the super user a.k.a. "root".
You should memorise that root password the same way you memorise your birth date. Because the root account can do practically everything on your computer, while a regular user can't.
That password am I talking about. Try and remember it.
Then start reading some tutorials about Linux. You'll find some here at LQ, or take the begginer's course at or wherever you want.

rusmi 02-11-2005 11:04 AM

mandrake 10.1, KDE 3.2. I clicked in NO password during installation. How can I guess the password?

All times are GMT -5. The time now is 10:36 PM.