Skip to content

Ensure dshadmin home directory exists#2559

Open
JimMadge wants to merge 1 commit intodevelopfrom
dshadmin_home
Open

Ensure dshadmin home directory exists#2559
JimMadge wants to merge 1 commit intodevelopfrom
dshadmin_home

Conversation

@JimMadge
Copy link
Member

Ensures appropriate ownership and permissions

✅ Checklist

  • You have given your pull request a meaningful title (e.g. Enable foobar integration rather than 515 foobar).
  • You are targeting the appropriate branch. If you're not certain which one this is, it should be develop.
  • Your branch is up-to-date with the target branch (it probably was when you started, but it may have changed since then).

🚦 Depends on

⤴️ Summary

The dshadmin home directory isn't created until the user logs in. If we use the serial console the directory is created with ownership root:root and so dshadmin is unable to write files. This is possibly because it bypasses pam_mkhomedir. In any case, it felt easier to make the directory and it's permissions part of the regular desired state.

🌂 Related issues

🔬 Tests

Ensures appropriate ownership and permissions
@JimMadge JimMadge requested a review from a team as a code owner February 12, 2026 17:03
@github-actions
Copy link

Coverage report

This PR does not seem to contain any modification to coverable code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant