I run a local web server for developing plugins. My plugins reside in git repositories and I create symlinks to link them to the WordPress installations plugin folder.
Sometimes it happens that I accidentially use the wrong browser tab and delete one of the plugins which causes WordPress to remove the data completely from my disk and I'd like to prevent hat somehow.
Could I for example just remove the write access on the symlink and then WordPress could not delete the plugins anymore?