]> git.ipfire.org Git - thirdparty/bacula.git/commit
Restore custom permission of symlink on FreeBSD and MacOS
authorAlain Spineux <alain@baculasystems.com>
Thu, 3 Dec 2020 13:36:33 +0000 (14:36 +0100)
committerEric Bollengier <eric@baculasystems.com>
Sat, 12 Dec 2020 15:35:44 +0000 (16:35 +0100)
commitd92df0803d1c38c13e092e4e5e0cb7be09bcc737
tree14607df503f109edab0c3645fad77cf8ad6532ac
parentb8dcc6fdfc7f7a066c25dca564672260869b4419
Restore custom permission of symlink on FreeBSD and MacOS

- FreeBSD and MacOS have a lchmod() system call and a chmod with
  option -h that allow to chnage the permission of o symlink
  instead of having a fixed lrwxrwxrwx, these system can have
  a custom one.
bacula/src/findlib/attribs.c