Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: what is $uid and $gid?

by Abigail-II (Bishop)
on Apr 22, 2003 at 07:04 UTC ( #252209=note: print w/replies, xml ) Need Help??


in reply to Re: what is $uid and $gid?
in thread what is $uid and $gid?

While there might be a chgrp command in your OS, Perl does not have a chgrp() function. Perl only has a chown() function, which is used to set both the user and the group id of a file. This is because many Perl functions mimic the C library, and not the programs from /usr/bin.

Also, there are 12 protection bits, not 9. You are forgetting the "set user id", "set group id" and the "sticky bit".

Abigail

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://252209]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2016-09-30 01:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (562 votes). Check out past polls.