Are there PHP commands for changing the permissions / owner of a symbolic link file, and not for objects referenced by a symbolic link?
From the shell I can
$ mkdir adir
$ ln -s adir alink
$ chmod 0700 alink -- changes permissions of directory adir
$ chmod -h 0700 alink -- changes permissions of file alink
but I don’t see how to make the last of them in PHP, except to call the shell, for example. a exec().
user213154
source
share