Sponsored Content
Full Discussion: Revision Control System
Top Forums UNIX for Advanced & Expert Users Revision Control System Post 302763389 by Scrutinizer on Wednesday 30th of January 2013 02:13:07 AM
Old 01-30-2013
@Don, but the same would be the case on virtually any Unix/Linux system, no? Perhaps setgid was not set on the directories involved in the new Linux environment..

Last edited by Scrutinizer; 01-30-2013 at 03:34 AM..
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Raid control vs scsi for operating system

I was trying to get a server using a raid controller card up and running. I could not get the card configured right so i just installed the system strait onto a scsi drive. Questions? Is is nescessary to have the operating system on raid? Pros/Cons Is it really difficult to go back later... (1 Reply)
Discussion started by: macdonto
1 Replies

2. Solaris

Control system

I want to check system memory Usage of CPU and disk and report number of free disk block in Sun Solaris How can I do Help me thks (2 Replies)
Discussion started by: iwbasts
2 Replies

3. Programming

Revision Control Sw

Hi All, Please let me know any freeware revision control software name and URL. Any response is highly appreciated. OS: Solaris 5.10 Thanks, Naga:cool: (3 Replies)
Discussion started by: Nagapandi
3 Replies

4. Solaris

Who has "Solaris 10 Advanced System Administration(SA-202-S10)" latest revision doc?

Dear All, I am going to examine SA202 but I got SA-202-S10 revision A.1 so it might be out of date. Who has "Solaris 10 Advanced System Administration(SA-202-S10)" latest revision document? Could you share it ? Thank you in advance (2 Replies)
Discussion started by: unitipon
2 Replies

5. Shell Programming and Scripting

Operating System Revision Level

Hi i am trying to find the operating system revsion level and know i can use the 'uname -a' commmand i just wanted to know what part of the output displays this? Also what command can i use to display the cpu run queue? (1 Reply)
Discussion started by: warlock129
1 Replies

6. Solaris

root password for system maintenance (control-d to bypass)

I have message "root password for system maintenance (control-d to bypass)" after Solaris 10 boots up. Why it appears ? thx for help. (3 Replies)
Discussion started by: presul
3 Replies

7. AIX

/tmp/man18809436: Invalid file system control data detected

/tmp/man18809436: Invalid file system control data detected Help me what do I do? Если знаете русскии, пишите на нем. (2 Replies)
Discussion started by: islily
2 Replies
SETGID(2)						     Linux Programmer's Manual							 SETGID(2)

NAME
setgid - set group identity SYNOPSIS
#include <sys/types.h> #include <unistd.h> int setgid(gid_t gid); DESCRIPTION
setgid() sets the effective group ID of the calling process. If the calling process is privileged (has the CAP_SETGID capability in its user namespace), the real GID and saved set-group-ID are also set. Under Linux, setgid() is implemented like the POSIX version with the _POSIX_SAVED_IDS feature. This allows a set-group-ID program that is not set-user-ID-root to drop all of its group privileges, do some un-privileged work, and then reengage the original effective group ID in a secure manner. RETURN VALUE
On success, zero is returned. On error, -1 is returned, and errno is set appropriately. ERRORS
EINVAL The group ID specified in gid is not valid in this user namespace. EPERM The calling process is not privileged (does not have the CAP_SETGID capability), and gid does not match the real group ID or saved set-group-ID of the calling process. CONFORMING TO
POSIX.1-2001, POSIX.1-2008, SVr4. NOTES
The original Linux setgid() system call supported only 16-bit group IDs. Subsequently, Linux 2.4 added setgid32() supporting 32-bit IDs. The glibc setgid() wrapper function transparently deals with the variation across kernel versions. C library/kernel differences At the kernel level, user IDs and group IDs are a per-thread attribute. However, POSIX requires that all threads in a process share the same credentials. The NPTL threading implementation handles the POSIX requirements by providing wrapper functions for the various system calls that change process UIDs and GIDs. These wrapper functions (including the one for setgid()) employ a signal-based technique to ensure that when one thread changes credentials, all of the other threads in the process also change their credentials. For details, see nptl(7). SEE ALSO
getgid(2), setegid(2), setregid(2), capabilities(7), credentials(7), user_namespaces(7) COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/. Linux 2017-09-15 SETGID(2)
All times are GMT -4. The time now is 07:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy