bug#41554: chmod allows removing x bit on chmod without a force flag, which can be inconvenient to recover from

2020-05-26 Thread Paul Eggert
On 5/26/20 6:30 PM, Will Rosecrans wrote: > The underlying safety logic is similar to that behind the > existing "--(no-)preserve-root" I think not. There are all sorts of other things one shouldn't chmod either, but we can't and shouldn't maintain a long list. Let's stop with "/".

bug#41554: chmod allows removing x bit on chmod without a force flag, which can be inconvenient to recover from

2020-05-26 Thread Will Rosecrans
Based on an inane interview question that was discussed here on Twitter: https://twitter.com/QuinnyPig/status/1265286980859908102 "chmod a-x $(which chmod)" not a particularly likely thing for a user to try to do directly, but it is conceivable for some sort of script to attempt it by accident