Re: [ccache] ccache changes file permissions unexpectedly

2022-05-07 Thread Joel Rosdahl via ccache
Aleksey Midenkov wrote: > After the software upgrade I noticed my IDE cannot compile a project > after it was built from the terminal. It turned out that build > directory now contains objects with such strange permissions: > > -r--r--r-- > > When I removed ccache from the compiling command it cre

Re: [ccache] ccache changes file permissions unexpectedly

2022-05-05 Thread Aleksey Midenkov via ccache
Actually `umask` option was already there (ccache version 3.7.11) but it worked correctly: umask 002 worked well, umask 511 didn't work. Now it works incorrectly: umask 002 doesn't work, umask 511 works well. Looks like a bug with bitmask operations. On Wed, May 4, 2022 at 8:36 PM Aleksey Midenko