LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-11-2005, 07:27 AM   #1
rusmi
LQ Newbie
 
Registered: Jan 2005
Posts: 8

Rep: Reputation: 0
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
 
Old 02-11-2005, 07:38 AM   #2
PensJunkie
LQ Newbie
 
Registered: Jan 2005
Distribution: Server Application of Fedora 7 (at the moment), I have played with many others however.
Posts: 27

Rep: Reputation: 15
use "su" to gain root privileges, then you can mkdir and chmod
 
Old 02-11-2005, 07:40 AM   #3
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Posts: 541

Rep: Reputation: 30
chmod <permission> foldername! ??!!
 
Old 02-11-2005, 08:05 AM   #4
rusmi
LQ Newbie
 
Registered: Jan 2005
Posts: 8

Original Poster
Rep: Reputation: 0
I'm linux newbie, can I change the settings wrom the desktop or using configuration tools?
 
Old 02-11-2005, 08:36 AM   #5
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
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.

Last edited by harken; 02-11-2005 at 08:39 AM.
 
Old 02-11-2005, 08:45 AM   #6
rusmi
LQ Newbie
 
Registered: Jan 2005
Posts: 8

Original Poster
Rep: Reputation: 0
I don't have any password, what password you mean?
 
Old 02-11-2005, 10:01 AM   #7
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
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.

Last edited by harken; 02-11-2005 at 10:02 AM.
 
Old 02-11-2005, 10:04 AM   #8
rusmi
LQ Newbie
 
Registered: Jan 2005
Posts: 8

Original Poster
Rep: Reputation: 0
mandrake 10.1, KDE 3.2. I clicked in NO password during installation. How can I guess the password?
Tom
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Permission to write to folder Garoth Linux - Software 1 10-09-2004 11:41 PM
permission denied if I want to create new folder dodo1983 Linux - Newbie 2 08-14-2004 10:46 PM
Folder permission javamdk Slackware 9 07-07-2004 11:26 AM
how can i default the max folder file size when it create inside a folder antony_csf Linux - Software 1 06-17-2004 02:26 AM
Permission problem with folder /etc/shorewall Teban Mandriva 4 04-04-2004 02:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration