On Tue, 9 Jan 2018 18:07:41 -0600 William Hubbs wrote: > All, > > please take a look at the following issue. > > https://github.com/openrc/openrc/issues/195 > > The first part of the fix is committed to master as shown on the issue; > checkpath should *never* follow symbolic links when changing ownership, > so I have moved to the lchown call instead of chown. > > However, I'm not sure how to deal with the hard link issue in a way that > will not break service scripts. > > If anyone has any suggestions for this, let me know. I faced the hard link problem in another package (bug still restricted) recently. I'm about to push the fix out but I just want check what I've done is okay. The init script used to call chown/chmod -R, which is obviously bad. I've compromised by only calling these on the directories themselves (ignoring symlinks). I believe this is safe because it's not possible to create hard linked directories these days? Would you agree? -- James Le Cuirot (chewi) Gentoo Linux Developer