LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 09-16-2009, 11:00 AM   #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 11:02 AM. Reason: title error. its file permissions not directory
 
Old 09-16-2009, 01: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, 06:49 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

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


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

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

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