LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-16-2009, 12:00 PM   #1
cylon
LQ Newbie
 
Registered: Sep 2009
Posts: 5

Rep: Reputation: 0
file permissions with Set GID


I have a file. the command chmod 2741 was run against it. Its just a text file, nothing that can do any damage while i'm testing.

the file permissions are now rwxr_S__x

This means that the group inherits the rights of the owner when running this file.

Is that correct?

Last edited by cylon; 09-16-2009 at 12:02 PM. Reason: title error. its file permissions not directory
 
Old 09-16-2009, 02:13 PM   #2
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by cylon View Post
I have a file. the command chmod 2741 was run against it. Its just a text file, nothing that can do any damage while i'm testing.

the file permissions are now rwxr_S__x

This means that the group inherits the rights of the owner when running this file.

Is that correct?
correct
 
Old 09-16-2009, 07:49 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Actually, just to emphasise, that's the owners group, not the user/owner.
 
  


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
Root can't chgrp or set permissions on directory? gregorian Linux - Newbie 16 05-28-2008 01:11 AM
how to set Samba directory / share permissions rwtreke Linux - General 2 02-16-2006 04:24 PM
How to permanently set permissions on all files created in a directory? BrianK Linux - General 8 06-24-2004 05:06 PM
directory permissions incorrectly set DutchBoy Linux - Security 3 01-05-2004 10:40 AM
How to set correct file/directory permissions pat.delaney Linux - Networking 5 12-02-2003 10:39 AM


All times are GMT -5. The time now is 08:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration