Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: Detecting lchown and falling back to chown

by andy314 (Initiate)
on Feb 01, 2008 at 16:57 UTC ( #665605=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Detecting lchown and falling back to chown
in thread Detecting lchown and falling back to chown

Messed up the parameter order. Should probably be (I never call it for more than 1 file at a time):

sub best_chown($$$) { chown(@_) unless -l $_[2]; }


Comment on Re^3: Detecting lchown and falling back to chown
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (11)
As of 2014-12-26 21:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls