Closed jfrankenau closed 7 years ago
Greetings,
I don't know if having symbolic link is a good idea. Anyway, recreate your PR using -L (short option) it's BSD friendly. See issue #18 for more details.
Regards, Matthieu
I have amended the pull request to make it work with BSD systems.
I like to have my dotfiles in version control and simply symlink them to their original locations during deployment. As this patch works with both regular files and files behind symlinks this shouldn't introduce any regressions.
Applied. Thanks.
When ~/.config/plowshare/plowshare.conf is a symbolic link in order to check file permissions, we have to dereference it. Otherwise the security check is errorneously made on on the symbolic link itself although only the permissions of the real file are of interest.