Hello all,

I want to do a chgrp() without invoking a child process.

I had assumed that chgrp() is a C function with a perl
equivalent, just the same as chown() and chmod() are.
But I am clearly mistaken.

----------------------\/--------BEGIN---------\/----------------------
% man -l chgrp
chgrp (1)       -M /usr/local/man
chgrp (1)       -M /usr/man
chgrp (1)       -M /depot/local/man
chgrp (1)       -M /usr/share/man
% 
% perldoc -f chgrp
No documentation for perl function `chgrp' found
% perldoc -q chgrp
No documentation for perl FAQ keyword `chgrp' found
% 
----------------------/\---------END----------/\----------------------

I also did a full search for "chgrp" on 
http://theoryx5.uwinnipeg.ca/cgi-bin/docperl,
and I got only two hits pertaining to a configuration
variable for building perl, which apparently does not even
have a meaningful value.

Here is the relevant excerpt from 
http://theoryx5.uwinnipeg.ca/CPAN/perl/lib/Config.html:

=> chgrp
=>     From Loc.U: 
=> 
=>     This variable is defined but not used by Configure.
=>     The value is a plain '' and is not useful.

So, can this be done?  Can I do a chgrp() without invoking a child
process?  If so, how?

If not, why not?  What makes chgrp(1) fundamentally different
from chown(1) that it does not have a C or perl builtin?

If I want to roll my own chgrp() how can I do that?

Thanks in advance for your help.

peace,          || Uttaranchal: Electricity from 7th century water mills:
--{kr.pA}       || http://tinyurl.com/yufep
-- 
What difference does it make to the dead, the orphans and the
homeless, whether the mad destruction is wrought under the
name of totalitarianism or the holy name of liberty or
democracy? -- Mahatma Gandhi, "Non-Violence in Peace and War"
_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to