in reply to How do I change the owner:group of a symlink?
Actually you can't in Perl.
As Tom Christiansen has said(I don't remember where):
"Perl doesn't do this. Do you know why many systems don't support the idea? Because it conveys no distict functionality. Modes and owners and times on symbolic links have no meaning. So why bother? And it's very non-portable."
Now as to making a system call. Did you use the "-h" option? I did and it did change the link's ownership without changing the file.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How do I change the owner:group of a symlink?
by v_thunder (Scribe) on May 25, 2002 at 06:18 UTC |