[PHP] Symlinks and ownership

2009-04-23 Thread Christoph Boget
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,

Re: [PHP] Symlinks and ownership

2009-04-23 Thread Daniel Brown
On Thu, Apr 23, 2009 at 13:21, Christoph Boget christoph.bo...@gmail.com 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