01-27-2013
Revision Control System
We've recently migrated from Unix to Linux, and unfortunately one of the command 'chown' is turned down on the new environment.
My dilemma is that whenever a user co (check-out), on new environment, scripts from RCS it overwrites the file ownership from the group ID to himself, and whenever he checks in the scripts, it remains as his own. I would like to somehow setup the system in such a way that whenever a user co/ci the scripts, he's able to check-out/check-in without changing the ownership.
Is there anyway I can do this without 'chown'?
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
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
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
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
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
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
Help me
what do I do?
Если знаете русскии, пишите на нем. (2 Replies)
Discussion started by: islily
2 Replies
LEARN ABOUT DEBIAN
explain_chown_or_die
explain_chown_or_die(3) Library Functions Manual explain_chown_or_die(3)
NAME
explain_chown_or_die - change ownership of a file and report errors
SYNOPSIS
#include <libexplain/chown.h>
void explain_chown_or_die(const char *pathname, int owner, int group);
DESCRIPTION
The explain_chown_or_die function is used to call the chown(2) system call. On failure an explanation will be printed to stderr, obtained
from explain_chown(3), and then the process terminates by calling exit(EXIT_FAILURE).
This function is intended to be used in a fashion similar to the following example:
explain_chown_or_die(pathname, owner, group);
pathname
The pathname, exactly as to be passed to the chown(2) system call.
owner The owner, exactly as to be passed to the chown(2) system call.
group The group, exactly as to be passed to the chown(2) system call.
Returns:
This function only returns on success. On failure, prints an explanation and exits.
SEE ALSO
chown(2)
change ownership of a file
explain_chown(3)
explain chown(2) errors
exit(2) terminate the calling process
COPYRIGHT
libexplain version 0.52
Copyright (C) 2008 Peter Miller
explain_chown_or_die(3)