note 32509 added to function.symlink

From: Date: Thu, 29 May 2003 19:23:43 +0000
Subject: note 32509 added to function.symlink
Groups: php.notes 
Request: Send a blank email to php-notes+get-49275@lists.php.net to get a copy of this message
This might sound obvious, but sometimes these details slip from our minds... Make sure the directory in which you are trying to create the symbolic link (AND the directory you are trying to link to in the case of directory linking) has the proper permissions, or you will get a "permission denied" from PHP. If you use for example, echo shell_exec("ln -sv $target $name") you might get the correct "link created" message, but without the link being actually created. It's probably the same thing with hard links, I just haven't tried it. ---- Manual Page -- http://www.php.net/manual/en/function.symlink.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32509 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32509&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32509&report=yes

« previous php.notes (#49275) next »