On Thu, Apr 23, 2009 at 13:21, Christoph Boget
wrote:
> Is there a reason why you can't programatically set ownership of a
> symbolic ink? The following code
You can't do it from the command line either, Chris. This is
because chown and chgrp automatically dereference symlinks, so it's
actu
Is there a reason why you can't programatically set ownership of a
symbolic ink? The following code
if( symlink( TARGET, LINK ))
{
echo 'Successfully created ' . LINK . "\n";
if( @chown( LINK, NEW_UID ))
{
echo 'Successfully changed ownership for ' . LINK . "\n";
if( @chgrp( LINK,
2 matches
Mail list logo