LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how create a folder/permission (http://www.linuxquestions.org/questions/linux-newbie-8/how-create-a-folder-permission-288886/)

rusmi 02-11-2005 07: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?

Tom

PensJunkie 02-11-2005 07:38 AM

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

overlord73 02-11-2005 07:40 AM

chmod <permission> foldername! ??!!

rusmi 02-11-2005 08:05 AM

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

harken 02-11-2005 08: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 08:45 AM

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

harken 02-11-2005 10: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 www.linux.org or wherever you want.

rusmi 02-11-2005 10:04 AM

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


All times are GMT -5. The time now is 11:53 PM.