LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-11-2005, 08:21 AM   #1
wordlife
LQ Newbie
 
Registered: Dec 2005
Posts: 8

Rep: Reputation: 0
Chmod


Assigning rights to files etc...
eg:
660 = rw-r-----

From the above,
6 = Owner
4 = Group <=
0 = Others

I want to understand Group
What if the Owner is a member of a group. Will he have rights to Read and Write or only Read. What do we understand?
 
Old 12-11-2005, 09:13 AM   #2
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Rep: Reputation: 30
660 = rw-rw---

maybe you mean

640 = rw-r----

In the case of 640, someone in the group who does not own the file can only read it. In the case of 660, someone in the group who does not own the file can read and write to it.

Also note that the x bit can be for permission to execute (for an executable) or permission to enter (for a directory).
Quote:
Originally Posted by wordlife
Assigning rights to files etc...
eg:
660 = rw-r-----

From the above,
6 = Owner
4 = Group <=
0 = Others

I want to understand Group
What if the Owner is a member of a group. Will he have rights to Read and Write or only Read. What do we understand?
 
Old 12-11-2005, 11:08 AM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
If the owner is a member of the group, he still gets the owner's access rights.
 
  


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
How to use Chmod Centinul Linux - Newbie 8 06-30-2005 10:44 AM
What can we do if we type chmod ugo-x /bin/chmod ?????? bunny123 Linux - Software 3 02-01-2005 08:53 PM
CHMOD in shell : chmod 777 /usr/ <---is that right? cpanelskindepot Programming 5 07-16-2004 05:37 AM
Chmod gibbylinks Linux - Newbie 1 10-23-2003 11:17 AM
chmod u+s csDraco_ Slackware 6 04-22-2003 08:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:24 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