LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-05-2005, 05:09 AM   #1
High-gain
Member
 
Registered: Dec 2004
Location: London,UK
Distribution: Mandriva 2007
Posts: 156

Rep: Reputation: 15
10.1 - permissions


Hi There - I am running 10.1 and wonder if anyone could help me find where I can get a discription of all the files and what they do that are listed in the left hand column in permissions. Some are pretty easy to decipher but I have not got a clue on the others. Also anyone explain what the 'wheel' is.

Many thanks for looking.
 
Old 08-05-2005, 05:59 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Your post is very vague. We need more info to be able to help you. What "permissions" are you looking at?
 
Old 08-05-2005, 11:05 AM   #3
High-gain
Member
 
Registered: Dec 2004
Location: London,UK
Distribution: Mandriva 2007
Posts: 156

Original Poster
Rep: Reputation: 15
Thanks for your reply - the permissions I would like to find out about and what they do are the ones that are located in Mandrake control center, under the security section. Also, if you make a 'rule change', in the right hand box that comes up there is one item maked 'wheel'. Any idea what that means please.

Thanks
 
Old 08-05-2005, 11:18 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
I haven't used Mandrake in a while now, but have a look at this. You're talking about the numerical values in that permissions column, yeah? Here's a little bit of info:

There are 3 numbers, from right to left, they are the permissions of the owner of the file, the file's group and everyone else. For each of those columns, you can set 3 permissions on the file: read, write and execute. Read has a value of 4, write 2 and execute 1. You just add them up. So for example, if a file has a 7 in the first column, that means its owner and read, write and execute the file (4 + 2 + 1 = 7). If you see 777, the owner, all users in the file's group and everyone else can read, write and execute the file. There's some more info about this here (although it's just a general Linux thing and not specifically for Mandrake).

Edit: I should also mention that you set permissions on a file with the chmod command. Open a terminal and type "man chmod" without the quotes for more info.

I'm not sure about "wheel", though.

Hope that helps a little bit though.

Last edited by Nylex; 08-05-2005 at 11:20 AM.
 
Old 08-05-2005, 11:33 AM   #5
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,168
Blog Entries: 4

Rep: Reputation: 3708Reputation: 3708Reputation: 3708Reputation: 3708Reputation: 3708Reputation: 3708Reputation: 3708Reputation: 3708Reputation: 3708Reputation: 3708Reputation: 3708
The wheel is a group traditionally used by the "big wheels" on the system... i.e. the administrative users.

Because it is tradition, this is why I don't use it on my systems. Not only is the group-name well known, but the users who created files that belong to that group are instantly fingered as possible targets for attack. "Inconvenient" though it might be, even sysadmin folks should have ordinary accounts.
 
Old 08-05-2005, 03:52 PM   #6
High-gain
Member
 
Registered: Dec 2004
Location: London,UK
Distribution: Mandriva 2007
Posts: 156

Original Poster
Rep: Reputation: 15
Many Thanks for your replies, most helpful - I had a vague understanding about the numeric numbers and how to change them so thanks for explaining it in more detail.

What I was really after is where can I find out what the file names mean, that is the left hand column next to the red stop signs. e.g. /etc/gettydefs - /etc/inetd.conf etc etc

Ok on the 'wheel' explanation, thanks also for that.

Thanks again in anticipation.
 
Old 08-05-2005, 04:23 PM   #7
Beezer
LQ Newbie
 
Registered: Jun 2005
Distribution: Fedora Core 10
Posts: 19

Rep: Reputation: 0
Also try:

man ls

and look at the -l option, it explains the permissions a bit.

also

man chmod
man chown
 
Old 08-06-2005, 01:28 AM   #8
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Sorry High-gain, I didn't realise. I'm not too sure about all the files myself to be honest. Maybe try searching Google. I found this about /etc/inetd.conf.

Here is a page about /etc/fstab as well.
 
Old 08-06-2005, 02:49 AM   #9
High-gain
Member
 
Registered: Dec 2004
Location: London,UK
Distribution: Mandriva 2007
Posts: 156

Original Poster
Rep: Reputation: 15
Nice One

Many thanks again for your replies and help. It's been most useful and very intersting, especially the link to /etc/fstab.
Will do more with Google and see if I can get anymore info on the file names and their uses.

If anyone else knows where I can find more help on the above then please post.

Once again thanks for your help. Most appreciated. Good Luck.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
file permissions OK, but command permissions? stabu Linux - General 2 10-05-2005 12:00 PM
permission ... permissions .... permissions alaios Linux - General 1 05-31-2005 04:16 AM
getting a directory's permissions and creating a new one with the same permissions newbie1000101 Programming 1 04-10-2004 12:52 PM
permissions JROCK1980 Linux - Software 6 04-09-2004 04:03 AM
need help with permissions hbbtstar Linux - Newbie 4 10-13-2003 06:02 AM

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

All times are GMT -5. The time now is 12:58 PM.

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