Bug 153212 - setuid, setgid not documented well
setuid, setgid not documented well
Status: CLOSED NEXTRELEASE
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: rhel-isa (Show other bugs)
4.5
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Don Domingo
John Ha
: Documentation
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-03 01:44 EST by Gezim Hoxha
Modified: 2014-08-04 18:15 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-01-14 20:27:46 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Gezim Hoxha 2005-04-03 01:44:50 EST
Description of problem:
In the manual
Red Hat Enterprise Linux 4: Introduction to System Administration
(rhel-isa(EN)-4-HTML-RHI (2004-08-25T17:11) )
Chapter 6. Managing User Accounts and Resource Access
6.3.1. User Accounts, Groups, and Permissions

The definition of setuid and setgid is not clear, in my opinion. Here is what I
would have made them look like.

"setuid-- used only for binary files(applications), this permission indicates
that the file is to executed with the permissions of the owner of the file and
not with the permissions of the user executing the file (which is the case
without setuid). It is indicated by the character s in the place of the x in the
owner category. If the owner of the file does not have execute permissions, the
s is capitalized to reflect this fact.


setgid -- used primarily for binary files(applications), this permission
indicates that the file is executed with the permissions of the group owning the
file and not with the permissions of the group of the user executing the file
(which is the case without setgid).

If applied to a directory, all files created within the directory are owned by
the group owning the directory, and not by the group of the user creating the
file. The setgid permission is indicated by the character s in place of the x in
the group category. If the  group of the file or directory does not have execute
permissions, the s is capitalized to reflect this fact."

Version-Release number of selected component (if applicable):
rhel-isa(EN)-4-HTML-RHI (2004-08-25T17:11)
Comment 1 Mike Behm 2006-02-14 14:06:53 EST
Made requested changes.
Comment 2 Michael Hideo 2007-06-06 01:03:47 EDT
Adding ecs-dev-list@redhat.com for wider coverage
Comment 3 Michael Hideo 2007-10-22 22:47:58 EDT
Removing automation notification

Note You need to log in before you can comment on or make changes to this bug.