Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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


Comment on Re: what is $uid and $gid?
Select or Download Code

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 examining the Monastery: (7)
As of 2015-07-01 23:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (24 votes), past polls