Skip to content

Handling group ID with spaces #195

@h908714124

Description

@h908714124

Hi there. Most of our users have a group "domain users". So the group ID contains a blank space, unfortunately. This group comes from our active directory server. I don't think we can change it.

The latest keychain (2.9.8) shows an annoying warning which appears everytime you open a terminal. The warning did not show up in keychain 2.8.5.

Our group id:

jbock@box:~$ id
uid=1517201160(jbock) gid=1517200513(domain users) groups=1517200513(domain users) ...

The warning:

jbock@box:~$ keychain 

 * keychain 2.9.8 ~ https://github.com/danielrobbins/keychain
 * Warning: /home/jbock/.keychain is owned by jbock domain, not jbock. Please fix.
 * Starting ssh-agent...

This is what you see everytime you open a terminal:

$ ssh box
Last login: Wed Jan  7 10:18:41 2026 from 10.48.149.32
 * Warning: /home/jbock/.keychain/box-sh is owned by jbock domain, not jbock. Please fix.
 * Warning: /home/jbock/.keychain/box-csh is owned by jbock domain, not jbock. Please fix.
 * Warning: /home/jbock/.keychain/box-fish is owned by jbock domain, not jbock. Please fix.
 * Warning: /home/jbock/.keychain is owned by jbock domain, not jbock. Please fix.
 * Warning: /home/jbock/.keychain/box-sh is owned by jbock domain, not jbock. Please fix.
 * Warning: /home/jbock/.keychain/box-csh is owned by jbock domain, not jbock. Please fix.
 * Warning: /home/jbock/.keychain/box-fish is owned by jbock domain, not jbock. Please fix.
 * Warning: /home/jbock/.keychain is owned by jbock domain, not jbock. Please fix.

Contents of ~/.keychain:

jbock@box:~$ ls -ld ~/.keychain
drwx------. 2 jbock domain users 4096 Jan  7 10:19 /home/jbock/.keychain
jbock@box:~$ ll ~/.keychain
total 12
-rw-------. 1 jbock domain users 113 Jan  7 10:19 box-sh
-rw-------. 1 jbock domain users 134 Jan  7 10:19 box-fish
-rw-------. 1 jbock domain users  84 Jan  7 10:19 box-csh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions