in reply to Detecting lchown and falling back to chown
FWIW, if you have lchown available you'll chown the symlink but not the target. If you don't, you'll chown the target, but not the symlink.
That seems kind of strange to me, but YMMV. I could see that if lchown was defined you'd want to change the symlink, but how you handle the target seems like it should always be the same (i.e. always chown the target, or always avoid it).
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Detecting lchown and falling back to chown
by andy314 (Initiate) on Feb 01, 2008 at 16:49 UTC | |
by andy314 (Initiate) on Feb 01, 2008 at 16:57 UTC |
In Section
Seekers of Perl Wisdom