Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Permission settings with 'S' or 's' in execute position
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
nwef  
View profile  
 More options Jun 6 2003, 10:23 am
Newsgroups: comp.unix.aix
From: nwef...@dbs1.com (nwef)
Date: 6 Jun 2003 07:23:13 -0700
Local: Fri, Jun 6 2003 10:23 am
Subject: Permission settings with 'S' or 's' in execute position
Can anyone explain the occurence of an 'S' or 's' in the execute
position of the permission string? ie) "-wrxw sw x"
Thanks,
Nancy Wefler

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Anne Tuchscherer  
View profile  
 More options Jun 6 2003, 11:03 am
Newsgroups: comp.unix.aix
From: Anne Tuchscherer <anntuchsche...@comcast.net>
Date: Fri, 06 Jun 2003 15:15:54 GMT
Local: Fri, Jun 6 2003 11:15 am
Subject: Re: Permission settings with 'S' or 's' in execute position
This is often referred to as the sticky bit.  It used to be used a long
time ago (in UNIX years) for keeping things in memory.  Now, if it is on
a directory it will make the group the same for any files created in
that directory (unless changed manually).   Not sure what it does on an
executable.

I do know that if the s is capitalized it means that the execute bit in
not set.  If you want to remove the s or S you can only remove it by
using chmod g-s <file or dir>.  It can be set either by chmod g+s <file
or dir> or chmod 2755 <file or dir>.

Anne Tuchscherer
Medstar Health


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Uli Link  
View profile  
 More options Jun 6 2003, 12:31 pm
Newsgroups: comp.unix.aix
From: "Uli Link" <Ulrich.--nO-sPAM--L...@Epost.de>
Date: Fri, 6 Jun 2003 18:29:10 +0200
Local: Fri, Jun 6 2003 12:29 pm
Subject: Re: Permission settings with 'S' or 's' in execute position

> This is often referred to as the sticky bit.  It used to be used a long
> time ago (in UNIX years) for keeping things in memory.  Now, if it is on
> a directory it will make the group the same for any files created in
> that directory (unless changed manually).   Not sure what it does on an
> executable.

If the -s is set for the owner the binary is executed with the context of
the owner,
same for the group. Popular example is "top" which needs some kernel
privileges in is executed with s-bit for the group.

> I do know that if the s is capitalized it means that the execute bit in
> not set.  If you want to remove the s or S you can only remove it by
> using chmod g-s <file or dir>.  It can be set either by chmod g+s <file
> or dir> or chmod 2755 <file or dir>.

chmod syntax same as for dirs.

---
Uli


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jurjen Oskam  
View profile  
 More options Jun 6 2003, 12:31 pm
Newsgroups: comp.unix.aix
From: Jurjen Oskam <jos...@quadpro.stupendous.org>
Date: 06 Jun 2003 16:31:58 GMT
Local: Fri, Jun 6 2003 12:31 pm
Subject: Re: Permission settings with 'S' or 's' in execute position

In article <1e45d342b95219a8becfa4c88bcce...@free.teranews.com>, Anne Tuchscherer wrote:
> This is often referred to as the sticky bit.  It used to be used a long
> time ago (in UNIX years) for keeping things in memory.  Now, if it is on

You're describing the 't' bit here. The 't' bit is called the sticky bit.
The 's' bit is the setuid- or setgid-bit.

For the original poster: read
http://www.cs.rutgers.edu/~watrous/unix-protections.html, found after a
ten second Google-session.

> I do know that if the s is capitalized it means that the execute bit in
> not set.  If you want to remove the s or S you can only remove it by
> using chmod g-s <file or dir>.  It can be set either by chmod g+s <file
> or dir> or chmod 2755 <file or dir>.

This is correct.

--
Jurjen Oskam

PGP Key available at http://www.stupendous.org/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rog  
View profile  
 More options Jun 6 2003, 6:38 pm
Newsgroups: comp.unix.aix
From: "Rog" <NON>
Date: Fri, 6 Jun 2003 23:38:30 +0100
Local: Fri, Jun 6 2003 6:38 pm
Subject: Re: Permission settings with 'S' or 's' in execute position
-rwxrwsrwx

GUID - whenever this file is executed, it will run with the same group id as
the owner regardless of the id of the person executing it

-rwsrwxrwx

SUID - whenever this file is executed it will run with the same user id as
the owner, regardless of the id of the person executing it

"nwef" <nwef...@dbs1.com> wrote in message

news:487bb720.0306060623.65ce7611@posting.google.com...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Villy Kruse  
View profile  
 More options Jun 10 2003, 6:43 am
Newsgroups: comp.unix.aix
From: v...@station02.ohout.pharmapartners.nl (Villy Kruse)
Date: 10 Jun 2003 10:43:29 GMT
Local: Tues, Jun 10 2003 6:43 am
Subject: Re: Permission settings with 'S' or 's' in execute position
On Fri, 6 Jun 2003 23:38:30 +0100,
    Rog <NON> wrote:

>-rwxrwsrwx

>GUID - whenever this file is executed, it will run with the same group id as
>the owner regardless of the id of the person executing it

>-rwsrwxrwx

>SUID - whenever this file is executed it will run with the same user id as
>the owner, regardless of the id of the person executing it

Close,  The EFFECTIVE user id is set to the owner of the file.  The REAL
user id remains the same as the uid of the invoking process.

Villy


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arie Maat  
View profile  
 More options Jun 24 2003, 8:25 am
Newsgroups: comp.unix.aix
From: "Arie Maat" <ariem...@home.nl>
Date: Tue, 24 Jun 2003 14:25:40 +0200
Local: Tues, Jun 24 2003 8:25 am
Subject: Re: Permission settings with 'S' or 's' in execute position
Hi,

Also an helpfull link:

http://docs.sun.com/db/doc/816-4883/6mb2joasa?a=view

Good luck,

Arie Maat

"nwef" <nwef...@dbs1.com> wrote in message

news:487bb720.0306060623.65ce7611@posting.google.com...

> Can anyone explain the occurence of an 'S' or 's' in the execute
> position of the permission string? ie) "-wrxw sw x"
> Thanks,
> Nancy Wefler

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.491 / Virus Database: 290 - Release Date: 18-6-2003

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »