Explicitly set home dir
Bookworm defaults to /nonexisting for system accounts.
This commit is contained in:
parent
6d564e58e0
commit
6b34c9ea34
4 changed files with 30 additions and 23 deletions
|
|
@ -91,7 +91,7 @@ impl Resource for AcmeAccountKey {
|
|||
#[derive(Debug, Hash, PartialEq, Eq)]
|
||||
pub struct AcmeUser;
|
||||
impl Resource for AcmeUser {
|
||||
type Artifact = UserNameArtifact;
|
||||
type Artifact = (UserNameArtifact, PathArtifact);
|
||||
}
|
||||
|
||||
#[derive(Debug, Hash, PartialEq, Eq)]
|
||||
|
|
@ -138,7 +138,7 @@ pub fn get_saved_directory(
|
|||
#[derive(Debug, Hash, PartialEq, Eq)]
|
||||
pub struct User(pub Rc<str>);
|
||||
impl Resource for User {
|
||||
type Artifact = ();
|
||||
type Artifact = PathArtifact;
|
||||
}
|
||||
|
||||
#[derive(Debug, Hash, PartialEq, Eq)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue