tag:gpgtools.tenderapp.com,2011-11-04:/discussions/problems/106381-20201-update-broke-helm-on-macos-because-of-file-permissionsGPGTools: Discussion 2020-06-19T20:00:53Ztag:gpgtools.tenderapp.com,2011-11-04:Comment/484131752020-06-19T01:37:14Z2020-06-19T01:37:15Z2020.1 update broke Helm on MacOS because of file permissions?<div><p>After I applied the GPG Suite 2020.1 update existing PGP keys no longer work with Helm 3. I get this error:<br>
<code>Error: cannot load irregular file /Users/username/.gnupg/S.gpg-agent as it has file mode type bits set</code></p>
<p>The file permissions look as expected as far as I know:<br></p>
<pre>
<code>username@computer> ls -la ~/.gnupg/
drwx------ 13 username staff 416 Jun 18 18:27 .
drwxr-xr-x+ 56 username staff 1792 Jun 18 18:34 ..
srwx------ 1 username staff 0 Jun 18 18:13 S.gpg-agent
srwx------ 1 username staff 0 Jun 18 18:13 S.gpg-agent.browser
srwx------ 1 username staff 0 Jun 18 18:13 S.gpg-agent.extra
srwx------ 1 username staff 0 Jun 18 18:13 S.gpg-agent.ssh
-rw------- 1 username staff 34 Mar 31 11:50 dirmngr.conf
-rw------- 1 username staff 41 Mar 31 11:50 gpg-agent.conf
-rw-------@ 1 username staff 34 Jun 9 18:39 gpg.conf
drwx------ 2 username staff 64 Mar 31 11:50 private-keys-v1.d
-rw------- 1 username staff 228475 Jun 9 18:39 pubring.kbx
-rw------- 1 username staff 224596 Mar 31 11:50 pubring.kbx~
-rw------- 1 username staff 1200 Jun 9 18:39 trustdb.gpg</code>
</pre>
and have confirmed that there are no MacOS extended attributes on the file. What does this error mean?</div>Witchbuttertag:gpgtools.tenderapp.com,2011-11-04:Comment/484131752020-06-19T02:25:22Z2020-06-19T02:25:23Z2020.1 update broke Helm on MacOS because of file permissions?<div><p>Please close this. The error issue comes from Helm choosing at random to use ~/,gnupg as the chart directory when <code>helm dependency update</code> is issued in a directory not containing a Chart.yaml. This is not an issue with GPGsuite.</p></div>Witchbuttertag:gpgtools.tenderapp.com,2011-11-04:Comment/484131752020-06-19T20:00:39Z2020-06-19T20:00:39Z2020.1 update broke Helm on MacOS because of file permissions?<div><p>Hi Witchbutter,</p>
<p>glad you already figure out what is going on. I'm closing this discussion. Should you need further assistance or have questions you can re-open this discussion here or open a new one any time.</p>
<p>Best,<br>
Steve</p></div>Steve