To change the owner of a symbolic link (symbolic link) has to put -h parameter. If you
chown user.group LinkName
change the owner of the file pointed to the link, not the actual link. If you
chown-h user.group LinkName
change the owner of the link itself.
This is useful if you want to make the directory httpdocs a plesk virtual host pointing to another location; since only root can create files in / var / www / vhosts / dominio.com / (there should be httpdocs), but apache runs as the domain user name in particular will get a permissions error if the symbolic link is not legible or property of that user.
0 comments:
Post a Comment