Skip to content

keyctl: Permission denied #5522

@eworm-de

Description

@eworm-de

Submission type

  • Bug report
  • Request for enhancement (RFE)

systemd version the issue has been seen with

v233

Used distribution

ArchLinux

In case of bug report: Expected behaviour you didn't see

This is what systemd v232 behaves:

$ keyctl add user test payload @u  
452119659
$ keyctl show @u
Keyring
 653507402 --alswrv   1000 65534  keyring: _uid.1000
 452119659 --alswrv   1000  1000   \_ user: test
$ keyctl read 452119659
7 bytes of data in key:
7061796c 6f6164

In case of bug report: Unexpected behaviour you saw

$ keyctl add user test payload @u
729805790
$ keyctl show @u
Keyring
 428373429 --alswrv   1000 65534  keyring: _uid.1000
 729805790 --alswrv   1000  1001   \_ user: test
$ keyctl read 729805790
keyctl_read_alloc: Permission denied

In case of bug report: Steps to reproduce the problem

See above...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions