"S" mode for file permission?

Sheemon Lists sheemon.lists at gmail.com
Mon Dec 14 15:29:35 UTC 2020


Sticky bit is indeed ;t;,  Print the numeric fields to see the gymnastics
taken in the directory listings and file perms.

BTW, the first ever software patent was issued to Dennis Ritchie (Bell
Labs) for the invention of the suid bit.
Years later, Micro$oft tried to outdo that by patenting the concept of a
bit.

The first trivia item above is true AFAIK.  The second was a rumor I
believe to be false.  Even M$ cannot be this dumb.

Don't Google - Read the source.

Simon


On Mon, Dec 14, 2020 at 5:28 AM Oleg Cherkasov <o1e9.cherkasov at yandex.com>
wrote:

> On 12.12.2020 22:08, Peter Flynn wrote:
> > On 12/12/2020 17:41, Gary Aitken wrote:
> >> I'm having to fix some permissions in some ruby file hierarchies, and
> >> came across one with a 'S' for group (note, not 's').  man chmod doesn't
> >> mention 'S', although it does mention 'X'.  Can someone tell me what 'S'
> >> represents, and why an attempt to chmod g+s results in a 'S'?  Also, why
> >> it would be set that way for a particular directory when all others
> above
> >> it have 's'?
> >
> > S(s) sets the Sticky Bit. https://en.wikipedia.org/wiki/Sticky_bit
>
> I always thought the Sticky Bit is rather T(t).  The mentioned wikipage
> confirms it, scroll to examples at the bottom.
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20201214/47e75216/attachment.html>


More information about the ubuntu-users mailing list