Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create empty home directory from skeleton if --user enabled without --home #42

Closed
tfoote opened this issue Mar 25, 2019 · 1 comment · Fixed by #71
Closed

create empty home directory from skeleton if --user enabled without --home #42

tfoote opened this issue Mar 25, 2019 · 1 comment · Fixed by #71
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@tfoote
Copy link
Collaborator

tfoote commented Mar 25, 2019

Otherwise programs that try to use the home directory will get permission denied errors.

Such as osrf/car_demo#56

Resources:

https://askubuntu.com/questions/152707/how-to-make-user-home-folder-after-account-creation
https://askubuntu.com/questions/335961/create-default-home-directory-for-existing-user-in-terminal

It looks like mkhomedir_helper might be available widely enough.
http://man7.org/linux/man-pages/man8/mkhomedir_helper.8.html

@tfoote tfoote added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Mar 25, 2019
tfoote added a commit to osrf/car_demo that referenced this issue Apr 10, 2019
It's not necessary and need an extension to be used without `--home` osrf/rocker#42

Replaces #56
@tfoote
Copy link
Collaborator Author

tfoote commented Aug 7, 2019

Possibly valuable to add support too: ros-infrastructure/ros_buildfarm#654

tfoote added a commit that referenced this issue Nov 28, 2019
This will avoid many errors.
It will not try if the user's home directory is to be mounted by the home extension.
The tool will also not touch any preexisting directory so if it's mounted any other way it should be safe too.

Fixes #42

Signed-off-by: Tully Foote <tfoote@osrfoundation.org>
@tfoote tfoote closed this as completed in #71 Dec 5, 2019
tfoote added a commit that referenced this issue Dec 5, 2019
This will avoid many errors.
It will not try if the user's home directory is to be mounted by the home extension.
The tool will also not touch any preexisting directory so if it's mounted any other way it should be safe too.

Fixes #42
130s pushed a commit to plusone-robotics/rocker that referenced this issue Apr 17, 2021
This will avoid many errors.
It will not try if the user's home directory is to be mounted by the home extension.
The tool will also not touch any preexisting directory so if it's mounted any other way it should be safe too.

Fixes osrf#42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant