Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: chmod: Why must "g+s" be specified symbolically (at least in
On Fri, 22 Oct 2004, Kenny McCormack wrote:

> Questions
> 	1) Why is this?

IIRC, it was done to help prevent finger trouble.  I.e., you have
to go that extra step if you want to change permission AND set
the SGID bit.

--
Rich Teer, SCNA, SCSA, author of "Solaris Systems Programming"

President,
Rite Online Inc.

Voice: +1 (250) 979-1638
URL: http://www.rite-group.com/rich

Report this thread to moderator Post Follow-up to this message
Old Post
Rich Teer
10-23-04 01:56 AM


Re: chmod: Why must "g+s" be specified symbolically (at least in
In article <Pine.SOL.4.58.0410221403000.17681@zaphod.rite-group.com>,
Rich Teer  <rich.teer@rite-group.com> wrote:
>On Fri, 22 Oct 2004, Kenny McCormack wrote:
> 
>
>IIRC, it was done to help prevent finger trouble.  I.e., you have
>to go that extra step if you want to change permission AND set
>the SGID bit.

It's a trigger guard that has _long_ outlived its usefulness.

Chris Thompson
Email: cet1 [at] cam.ac.uk

Report this thread to moderator Post Follow-up to this message
Old Post
Chris Thompson
10-23-04 01:57 AM


Re: chmod: Why must "g+s" be specified symbolically (at least in
Rich Teer wrote:
> On Fri, 22 Oct 2004, Kenny McCormack wrote:
>
> 
>
>
> IIRC, it was done to help prevent finger trouble.  I.e., you have
> to go that extra step if you want to change permission AND set
> the SGID bit.
>

I don't agree to that. You can either use the command

% chmod 2644 file

or

% chmod u+rw,g+s

The result is the same.

\Steve

Report this thread to moderator Post Follow-up to this message
Old Post
Steve Graegert
10-23-04 01:57 AM


Re: chmod: Why must "g+s" be specified symbolically (at least in
Beardy wrote:
> Rich Teer wrote:
> 
>
> Yup - you have to be pretty determined/certain to hold the shit key down
> long enough to generate "+". That shows commitment enough to change the
> SGID bit and/or perms ;-)
>

shi*f*t key, mummy ;-)


Report this thread to moderator Post Follow-up to this message
Old Post
Beardy
10-23-04 08:56 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Unix Programming archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:26 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.