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,
Hi,
I need to link a url like this:
www.mysite.com/?id=5
to a folder like this:
www.mysite.com/5
(so that I can access it from the subdomain 5.mysite.com)
I'm assuming that symlinks are the best way to do this, but I really don't
know how to do it.
Any help is greatly appreciated.
Thanks
3 matches
Mail list logo