On 2020-05-12 12:38:52 -0700, Kevin J. McCarthy wrote: > On Tue, May 12, 2020 at 02:43:44AM +0200, Vincent Lefevre wrote: > > * one should be able to specify the location of the dotlock program > > at run time (so that non-root users could install a more recent > > version of Mutt in their home directory); > > I think you can already, by setting $dotlock_program. (Assuming the > external dotlock program is configured).
I think I may have been confused by the fact that at configure/build time, Mutt insists on using its own. For instance, "make install" fails with chgrp: changing group of '/tmp/mutt-test/bin/mutt_dotlock': Operation not permitted Can't fix mutt_dotlock's permissions! This is required to lock mailboxes in the mail spool directory. The error should not be fatal. I also think that in case of error, the install rule should check whether a mutt_dotlock is already available in the path with the right permissions; if it is available, the one that has just been built (with insufficient permissions) should not be installed. > I guess you could disable the dotlock by setting $dotlock_program to > "/bin/true". If this works, it could be worth documenting. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)