The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
To give the "unzip" permissions & "create" file permissions Mike1234 HP-UX 3 03-02-2008 05:34 PM
Unix File Permissions Perderabo Tips and Tutorials 5 09-25-2007 06:42 PM
Unix permissions mobershaw SUN Solaris 0 01-24-2006 06:06 PM
Unix permissions moukoko UNIX for Dummies Questions & Answers 2 03-11-2004 08:12 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-15-2005
jerardfjay jerardfjay is offline
Registered User
  
 

Join Date: Feb 2005
Posts: 146
UNIX File Permissions

Hello,

What does the following mean in terms of file permissions.

-rw-rwSrw- 1 owner group 999 May 25 2004 file_name

What does the "S" stand for.

Thanks in advance for your input.
  #2 (permalink)  
Old 03-15-2005
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,117
That S stands for "set gid", which was originally the only use of that bit. In octal the permission bits are 2666. But the "set gid" concept is useless here because no execute bits are set. When file locking was added to unix, this combo of bits was used to indicate enforcement mode. So enforcement mode file locking is enabled for this file. See "man lockf".
  #3 (permalink)  
Old 03-15-2005
jerardfjay jerardfjay is offline
Registered User
  
 

Join Date: Feb 2005
Posts: 146
That S stands for "set gid", which was originally the only use of that bit

Perderabo,

Thank you. This type of permission is used in an environment on a file that is like a type of configuration file for another process.

When I perform a

ps -ef | grep (config_file)

I get two processes that are using this configuration file while daemonising themselves. Does this have any significance at all if the file permissions are used in this manner or does it really matter. Thanks
  #4 (permalink)  
Old 03-15-2005
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,117
Like I said, it turns on enforcement mode file locking.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:57 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0